mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
[client] Fix smart timeline fetching
This commit is contained in:
parent
151e7499c3
commit
9a34c38d0b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user