mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Small change in polling rate for the scrollbutton
This commit is contained in:
@@ -22,5 +22,5 @@ if (document.getElementById("ha-scrollbutton") !== null) {
|
|||||||
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
||||||
})
|
})
|
||||||
// TODO: workaround, bc window does not recieve scroll events anymore
|
// TODO: workaround, bc window does not recieve scroll events anymore
|
||||||
setInterval(() => scrollFunction(), 1000);
|
setInterval(() => scrollFunction(), 2500);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user