Small change in polling rate for the scrollbutton

This commit is contained in:
Simon Martens
2023-09-14 18:04:45 +02:00
parent 72bf3612a3
commit 739b2e95e1

View File

@@ -22,5 +22,5 @@ if (document.getElementById("ha-scrollbutton") !== null) {
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
})
// TODO: workaround, bc window does not recieve scroll events anymore
setInterval(() => scrollFunction(), 1000);
setInterval(() => scrollFunction(), 2500);
}