[client] Fix smart timeline fetching

This commit is contained in:
Laura Hausmann 2023-11-23 18:33:31 +01:00
parent 151e7499c3
commit 9a34c38d0b
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -59,7 +59,7 @@ function scrollTop() {
scroll(tlEl.value, { top: 0, behavior: "smooth" });
}
function setTimer() {
const setTimer = () => {
if ($store.state.enableInfiniteScroll && !interval.value) {
interval.value = setInterval(() => {
const viewport = document.documentElement.clientHeight;