diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 3c7d1f75c..af880a3e0 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -220,7 +220,7 @@ watch([$$(weakBacked), $$(contentEl)], () => { const container = scrollableElementOrHtml; - function removeListener() { container.removeEventListener('scroll', onScroll); } + function removeListener() { container.removeEventListener('scroll', checkBacked); } container.addEventListener('scroll', checkBacked, { passive: true }); return removeListener; })();