mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[client] Fix smart timeline fetching
This commit is contained in:
parent
151e7499c3
commit
9a34c38d0b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue