Skip to content

Commit f37008e

Browse files
petersendiditscottgonzalez
authored andcommitted
Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view.
1 parent 5e24a1c commit f37008e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ui/jquery.ui.slider.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,12 @@ $.widget( "ui.slider", $.ui.mouse, {
509509
}
510510
this._animateOff = false;
511511
break;
512+
case "min":
513+
case "max":
514+
this._animateOff = true;
515+
this._refreshValue();
516+
this._animateOff = false;
517+
break;
512518
}
513519
},
514520

0 commit comments

Comments
 (0)