Skip to content

Commit

Permalink
whoops again
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekEagle committed Sep 29, 2023
1 parent 856a6aa commit f8b4a0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/scrollHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit f8b4a0b

Please sign in to comment.