mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view.
This commit is contained in:
parent
5e24a1ce4b
commit
f37008eeb1
6
ui/jquery.ui.slider.js
vendored
6
ui/jquery.ui.slider.js
vendored
@ -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;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user