Skip to content

Commit

Permalink
Slider: Fixed var statement. Fixes #7564 - alignValue Global Scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jul 19, 2011
1 parent c1929fc commit 8d43fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 8d43fe7

Please sign in to comment.