From f8b4a0b1b68bed108112f85e7760a6e75d0c5639 Mon Sep 17 00:00:00 2001 From: Alek Evans Date: Thu, 28 Sep 2023 12:36:19 -0800 Subject: [PATCH] whoops again --- src/utils/scrollHandler.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/scrollHandler.ts b/src/utils/scrollHandler.ts index b47f6c2..5589f3f 100644 --- a/src/utils/scrollHandler.ts +++ b/src/utils/scrollHandler.ts @@ -11,7 +11,7 @@ export function disableScrolling() { } export function enableScrolling() { - document.body.removeEventListener("scroll", scrollHandler, {passive: false}); - document.body.removeEventListener("wheel", scrollHandler, {passive: false}); - document.body.removeEventListener("touchmove", scrollHandler, {passive: false}); + document.body.removeEventListener("scroll", scrollHandler); + document.body.removeEventListener("wheel", scrollHandler); + document.body.removeEventListener("touchmove", scrollHandler); } \ No newline at end of file