aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-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);