mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
slider: animate default should be false
This commit is contained in:
parent
ab32cefef5
commit
966f6e46dd
@ -354,6 +354,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
|
||||
|
||||
values: function(index, newValue, noAnimation) {
|
||||
|
||||
if(!this.options.animate) noAnimation = true;
|
||||
|
||||
if (arguments.length > 1) {
|
||||
this.options.values[index] = newValue;
|
||||
this._refreshValue(!noAnimation);
|
||||
|
Loading…
Reference in New Issue
Block a user