diff --git a/js/jquery.smoothDivScroll-1.2.js b/js/jquery.smoothDivScroll-1.2.js index bf2ef83..f91bcd8 100644 --- a/js/jquery.smoothDivScroll-1.2.js +++ b/js/jquery.smoothDivScroll-1.2.js @@ -228,8 +228,8 @@ /***************************************** SET UP EVENT FOR MOUSEWHEEL SCROLLING *****************************************/ - el.data("scrollableArea").mousewheel(function (event, delta) { - if (el.data("enabled") && o.mousewheelScrolling) { + el.data("scrollableArea").mousewheel(function (event, delta, deltaX, deltaY) { + if (el.data("enabled") && o.mousewheelScrolling && deltaX && deltaY === 0) { event.preventDefault(); // Stop any ongoing autoscrolling if it's running