diff --git a/jquery.mousewheel.js b/jquery.mousewheel.js index d87724aaeb..4b25ebc498 100755 --- a/jquery.mousewheel.js +++ b/jquery.mousewheel.js @@ -143,11 +143,11 @@ // is treating this as an older mouse wheel event. // We'll divide it by 40 to try and get a more usable deltaFactor. if ( lowestDelta === 120 ) { - // Divide all the things by 40! - delta /= 40; - deltaX /= 40; - deltaY /= 40; - lowestDelta /= 40; + // Divide all the things by 40! + delta /= 40; + deltaX /= 40; + deltaY /= 40; + lowestDelta /= 40; } // Get a whole, normalized value for the deltas