Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2022-05-10 16:59:42 +0300
committerDillon <dillonzq@outlook.com>2022-05-10 16:59:42 +0300
commit8d031cf268b6da6958e7ff3843917a810ac0ea0d (patch)
tree63bf47aab7187fd2ed84c0f1df617269d078b6cd /src
parent14cb2c2db99b1857f9a046291eefc6766b4e77fb (diff)
fix: scrollEvent delay
Diffstat (limited to 'src')
-rw-r--r--src/js/theme.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/js/theme.js b/src/js/theme.js
index 416b7092..50f9381e 100644
--- a/src/js/theme.js
+++ b/src/js/theme.js
@@ -689,9 +689,7 @@ class Theme {
}
$fixedButtons.style.display = 'none';
}
- for (let event of this.scrollEventSet) window.setTimeout(() => {
- event();
- }, 100);;
+ for (let event of this.scrollEventSet) event();
this.oldScrollTop = this.newScrollTop;
}, false);
}