Remove Firefox hack for MozMousePixelScroll.
It just works fine without it.
This commit is contained in:
parent
1d315786a0
commit
0fc81dfa83
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user