From 4636ee55d8b72e3e717db6956a3c7d5629eb98e4 Mon Sep 17 00:00:00 2001 From: JhonSGIzquierdo Date: Mon, 8 Apr 2024 11:35:10 -0500 Subject: [PATCH] :bug: fix(Timeline): Invalida date after fast clicked --- marlo-web/src/main/webapp/crp/js/home/dashboard.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/marlo-web/src/main/webapp/crp/js/home/dashboard.js b/marlo-web/src/main/webapp/crp/js/home/dashboard.js index 5609a53b11..110083340c 100644 --- a/marlo-web/src/main/webapp/crp/js/home/dashboard.js +++ b/marlo-web/src/main/webapp/crp/js/home/dashboard.js @@ -162,7 +162,7 @@ function moveScrollRight() { setTimeout(() => { getIntersectedDatesInScreen(); - }, 500); + }, 250); } function moveScrollLeft() { @@ -176,7 +176,7 @@ function moveScrollLeft() { setTimeout(() => { getIntersectedDatesInScreen(); - }, 500); + }, 250); } const convertDateToAfricanDate = (date) => { @@ -242,7 +242,7 @@ function getIntersectedDatesInScreen() { setTimeout(() => { observer.disconnect(); - }, 100); + }, 10); }