aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.slider.js
diff options
context:
space:
mode:
authorGilmore Davidson <gilmoreorless@gmail.com>2011-02-13 18:11:40 +1100
committerScott González <scott.gonzalez@gmail.com>2011-02-23 16:33:27 +0100
commit9626484dd5216f7597d4bb9680c95b9b210bac15 (patch)
treee525797ce158991ad4f8d82afb95f791e0ff984f /ui/jquery.ui.slider.js
parentc37637ee99ed737d2f81b58cb4d307fc01791319 (diff)
downloadjquery-ui-9626484dd5216f7597d4bb9680c95b9b210bac15.tar.gz
jquery-ui-9626484dd5216f7597d4bb9680c95b9b210bac15.zip
Fixed #6979 - Several components are leaking variables into the global scope
Diffstat (limited to 'ui/jquery.ui.slider.js')
-rw-r--r--ui/jquery.ui.slider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js
index f6bc57025..38c5996d0 100644
--- a/ui/jquery.ui.slider.js
+++ b/ui/jquery.ui.slider.js
@@ -592,7 +592,7 @@ $.widget( "ui.slider", $.ui.mouse, {
return this._valueMax();
}
var step = ( this.options.step > 0 ) ? this.options.step : 1,
- valModStep = (val - this._valueMin()) % step;
+ valModStep = (val - this._valueMin()) % step,
alignValue = val - valModStep;
if ( Math.abs(valModStep) * 2 >= step ) {