[client] Fix smart timeline fetching

This commit is contained in:
Laura Hausmann 2023-11-23 18:33:31 +01:00
parent 151e7499c3
commit 9a34c38d0b
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

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