Remove Firefox hack for MozMousePixelScroll.

It just works fine without it.
This commit is contained in:
Hyunje Alex Jun 2014-09-15 21:53:23 +01:00
parent 1d315786a0
commit 0fc81dfa83

View File

@ -398,13 +398,6 @@
} else if (typeof window.onmousewheel !== "undefined") { } else if (typeof window.onmousewheel !== "undefined") {
$this.bind('mousewheel' + eventClassName, mousewheelHandler); $this.bind('mousewheel' + eventClassName, mousewheelHandler);
} }
// fix Firefox scroll problem
$this.bind('MozMousePixelScroll' + eventClassName, function (e) {
if (shouldPrevent) {
e.preventDefault();
}
});
}; };
var bindKeyboardHandler = function () { var bindKeyboardHandler = function () {