Skip to content

Commit 8d43fe7

Browse files
committed
Slider: Fixed var statement. Fixes #7564 - alignValue Global Scope.
1 parent c1929fc commit 8d43fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ $.widget( "ui.slider", $.ui.mouse, {
576576
return this._valueMax();
577577
}
578578
var step = ( this.options.step > 0 ) ? this.options.step : 1,
579-
valModStep = (val - this._valueMin()) % step;
579+
valModStep = (val - this._valueMin()) % step,
580580
alignValue = val - valModStep;
581581

582582
if ( Math.abs(valModStep) * 2 >= step ) {

0 commit comments

Comments
 (0)