diff options
author | David Petersen <public@petersendidit.com> | 2012-10-16 13:42:05 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-16 23:15:10 -0400 |
commit | f37008eeb11eb12571cb65b1010a7e5d367064ac (patch) | |
tree | 48a3614b2d10aed2352a9b2be72c02d644577bc4 | |
parent | 5e24a1ce4b337830b37511305a6ddefe797fd40c (diff) | |
download | jquery-ui-f37008eeb11eb12571cb65b1010a7e5d367064ac.tar.gz jquery-ui-f37008eeb11eb12571cb65b1010a7e5d367064ac.zip |
Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view.
-rw-r--r-- | ui/jquery.ui.slider.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js index f24982878..ab8287e7b 100644 --- a/ui/jquery.ui.slider.js +++ b/ui/jquery.ui.slider.js @@ -509,6 +509,12 @@ $.widget( "ui.slider", $.ui.mouse, { } this._animateOff = false; break; + case "min": + case "max": + this._animateOff = true; + this._refreshValue(); + this._animateOff = false; + break; } }, |