From 0fc81dfa83e37c476348d90774023407e4386c6d Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Mon, 15 Sep 2014 21:53:23 +0100 Subject: [PATCH] Remove Firefox hack for MozMousePixelScroll. It just works fine without it. --- src/perfect-scrollbar.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/perfect-scrollbar.js b/src/perfect-scrollbar.js index fc4f868..a0b01e2 100644 --- a/src/perfect-scrollbar.js +++ b/src/perfect-scrollbar.js @@ -398,13 +398,6 @@ } else if (typeof window.onmousewheel !== "undefined") { $this.bind('mousewheel' + eventClassName, mousewheelHandler); } - - // fix Firefox scroll problem - $this.bind('MozMousePixelScroll' + eventClassName, function (e) { - if (shouldPrevent) { - e.preventDefault(); - } - }); }; var bindKeyboardHandler = function () {