Skip to content
Permalink
Browse files

slider: animate default should be false

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 28, 2009
1 parent ab32cef commit 966f6e46ddd1244a63c4c3baf93ef6c8eabf9820
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);

0 comments on commit 966f6e4

Please sign in to comment.
You can’t perform that action at this time.