Ox.Element: fix onMouseWheel
This commit is contained in:
parent
fb77591a2b
commit
aef8e2b188
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@
|
||||||
|
|
||||||
function onMousewheel(e) {
|
function onMousewheel(e) {
|
||||||
// see https://github.com/brandonaaron/jquery-mousewheel/blob/master/jquery.mousewheel.js
|
// see https://github.com/brandonaaron/jquery-mousewheel/blob/master/jquery.mousewheel.js
|
||||||
//e = e.originalEvent;
|
e = e.originalEvent;
|
||||||
var absDelta,
|
var absDelta,
|
||||||
deltaX = 'deltaX' in e ? e.deltaX
|
deltaX = 'deltaX' in e ? e.deltaX
|
||||||
: 'wheelDeltaX' in e ? -e.wheelDeltaX
|
: 'wheelDeltaX' in e ? -e.wheelDeltaX
|
||||||
|
|
Loading…
Reference in a new issue