aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.slider.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2009-01-28 22:13:44 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2009-01-28 22:13:44 +0000
commit966f6e46ddd1244a63c4c3baf93ef6c8eabf9820 (patch)
tree39f574f7c34f65e6492a3378d549c09193086781 /ui/ui.slider.js
parentab32cefef5edf54eb156476bb51efe252b56c79b (diff)
downloadjquery-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.js2
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);