mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 21:08:52 -07:00
[client] Remove debug logging
This commit is contained in:
parent
c742729796
commit
dc7d06ff74
1 changed files with 0 additions and 1 deletions
|
@ -66,7 +66,6 @@ function setTimer() {
|
||||||
interval.value = setInterval(() => {
|
interval.value = setInterval(() => {
|
||||||
const viewport = document.documentElement.clientHeight;
|
const viewport = document.documentElement.clientHeight;
|
||||||
const left = document.documentElement.scrollHeight - document.documentElement.scrollTop;
|
const left = document.documentElement.scrollHeight - document.documentElement.scrollTop;
|
||||||
console.log(document.documentElement.scrollTop - lastFetchScrollTop.value);
|
|
||||||
if (left > Math.max(viewport * 3, 4000) || document.documentElement.scrollTop - lastFetchScrollTop.value < viewport) return;
|
if (left > Math.max(viewport * 3, 4000) || document.documentElement.scrollTop - lastFetchScrollTop.value < viewport) return;
|
||||||
pagingComponent.value.prefetchMore();
|
pagingComponent.value.prefetchMore();
|
||||||
lastFetchScrollTop.value = document.documentElement.scrollTop;
|
lastFetchScrollTop.value = document.documentElement.scrollTop;
|
||||||
|
|
Loading…
Reference in a new issue