From f37008eeb11eb12571cb65b1010a7e5d367064ac Mon Sep 17 00:00:00 2001 From: David Petersen Date: Tue, 16 Oct 2012 13:42:05 -0400 Subject: [PATCH] Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view. --- ui/jquery.ui.slider.js | 6 ++++++ 1 file changed, 6 insertions(+) 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; } }, -- 2.39.5