Skip to content
Permalink
Browse files
Slider: Fixed var statement. Fixes #7564 - alignValue Global Scope.
  • Loading branch information
scottgonzalez committed Jul 19, 2011
1 parent c1929fc commit 8d43fe7e3428e4fb4e5d9ca9e76a0d5078dfe708
Showing 1 changed file with 1 addition and 1 deletion.
@@ -576,7 +576,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 ) {

0 comments on commit 8d43fe7

Please sign in to comment.