Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view.

This commit is contained in:
David Petersen 2012-10-16 13:42:05 -04:00 committed by Scott González
parent 5e24a1ce4b
commit f37008eeb1

View File

@ -509,6 +509,12 @@ $.widget( "ui.slider", $.ui.mouse, {
} }
this._animateOff = false; this._animateOff = false;
break; break;
case "min":
case "max":
this._animateOff = true;
this._refreshValue();
this._animateOff = false;
break;
} }
}, },