Skip to content

Commit

Permalink
🐛 fix(Timeline): Invalida date after fast clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalPrime committed Apr 8, 2024
1 parent 22a8ad5 commit 4636ee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions marlo-web/src/main/webapp/crp/js/home/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function moveScrollRight() {

setTimeout(() => {
getIntersectedDatesInScreen();
}, 500);
}, 250);
}

function moveScrollLeft() {
Expand All @@ -176,7 +176,7 @@ function moveScrollLeft() {

setTimeout(() => {
getIntersectedDatesInScreen();
}, 500);
}, 250);
}

const convertDateToAfricanDate = (date) => {
Expand Down Expand Up @@ -242,7 +242,7 @@ function getIntersectedDatesInScreen() {

setTimeout(() => {
observer.disconnect();
}, 100);
}, 10);

}

Expand Down

0 comments on commit 4636ee5

Please sign in to comment.