1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-26 09:44:32 +02:00

table sliders + FF scroll fix

This commit is contained in:
Pomax
2020-09-13 14:52:18 -07:00
parent c0a1207d67
commit 9952c2831e
19 changed files with 91 additions and 56 deletions

View File

@@ -0,0 +1,8 @@
// Firefox seems to mess up on slider input immediately after navigating.
// Even weirder, forcing a scroll once the page is done loading fixes it...
if (navigator.userAgent.includes(`Firefox/`)) {
window.onload = function () {
window.scrollBy(0, 1);
setTimeout(() => window.scrollBy(0, -1), 1);
};
}