From 130ece74f9cc82ccd949b3e2354fd4d1554667ac Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 13 Jul 2023 05:36:32 +0000 Subject: [PATCH] fix --- packages/frontend/src/components/MkPagination.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; })();