From 966f6e46ddd1244a63c4c3baf93ef6c8eabf9820 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Wed, 28 Jan 2009 22:13:44 +0000 Subject: [PATCH] slider: animate default should be false --- ui/ui.slider.js | 2 ++ 1 file changed, 2 insertions(+) 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);