mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[client] Improve prefetchMore debounce
This commit is contained in:
parent
248bf22b94
commit
f9f7553ecd
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ const props = defineProps<{
|
|||
const pagingComponent = ref<InstanceType<typeof MkPagination>>();
|
||||
|
||||
const interval = ref<NodeJS.Timer>();
|
||||
const lastFetchScrollTop = ref(0);
|
||||
const lastFetchScrollTop = ref(document.documentElement.clientHeight / 2 * -1);
|
||||
|
||||
function scrollTop() {
|
||||
if (!tlEl.value) return;
|
||||
|
|
Loading…
Reference in a new issue