diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-28 22:13:44 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-28 22:13:44 +0000 |
commit | 966f6e46ddd1244a63c4c3baf93ef6c8eabf9820 (patch) | |
tree | 39f574f7c34f65e6492a3378d549c09193086781 /ui/ui.slider.js | |
parent | ab32cefef5edf54eb156476bb51efe252b56c79b (diff) | |
download | jquery-ui-966f6e46ddd1244a63c4c3baf93ef6c8eabf9820.tar.gz jquery-ui-966f6e46ddd1244a63c4c3baf93ef6c8eabf9820.zip |
slider: animate default should be false
Diffstat (limited to 'ui/ui.slider.js')
-rw-r--r-- | ui/ui.slider.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index 9da0d677d..aac78c913 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -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); |