From d837b344b86f601774a7f7271fcc6c5b75b3caf5 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sat, 17 Apr 2021 18:11:09 +0530 Subject: [PATCH] v0.19.35 trying to improve elevator reveal animation --- js/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index 37b29a6..5936ba1 100644 --- a/js/index.js +++ b/js/index.js @@ -691,7 +691,9 @@ function showSiteMap() { document.body.style.overflow = "hidden"; document.body.style.top = `-${window.scrollY}px`; getRef("elevator_popup").classList.remove("hide-completely"); - siteMapTimeline.duration(1).play(); + setTimeout(() => { + siteMapTimeline.duration(0.9).play(); + }, 0); } function hideSiteMap() {