From aef8e2b1882443c01cc28faf35dbe6f69e99b11c Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 22 Sep 2014 17:12:17 +0200 Subject: [PATCH] Ox.Element: fix onMouseWheel --- source/Ox.UI/js/Core/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index cfaf06bd..8b52ca26 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -270,7 +270,7 @@ function onMousewheel(e) { // see https://github.com/brandonaaron/jquery-mousewheel/blob/master/jquery.mousewheel.js - //e = e.originalEvent; + e = e.originalEvent; var absDelta, deltaX = 'deltaX' in e ? e.deltaX : 'wheelDeltaX' in e ? -e.wheelDeltaX