From: Paul Bakaus Date: Wed, 28 Jan 2009 22:13:44 +0000 (+0000) Subject: slider: animate default should be false X-Git-Tag: 1.6rc6~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=966f6e46ddd1244a63c4c3baf93ef6c8eabf9820;p=jquery-ui.git slider: animate default should be false --- 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);