[client] Remove debug logging

This commit is contained in:
Laura Hausmann 2023-11-24 00:20:56 +01:00
parent c742729796
commit dc7d06ff74
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -66,7 +66,6 @@ function setTimer() {
interval.value = setInterval(() => {
const viewport = document.documentElement.clientHeight;
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;
pagingComponent.value.prefetchMore();
lastFetchScrollTop.value = document.documentElement.scrollTop;