Skip to content

Commit 527edc4

Browse files
committed
add MozMousePixelScroll to the fixed events list
1 parent 0a0f7c4 commit 527edc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.mousewheel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
}(function ($) {
2525

26-
var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll'];
26+
var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'];
2727
var toBind = 'onwheel' in document || document.documentMode >= 9 ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'];
2828
var lowestDelta, lowestDeltaXY;
2929

0 commit comments

Comments
 (0)