Skip to content
Permalink
Browse files

slider: added better description for workaround for #3726

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 28, 2009
1 parent 0305e19 commit 4bf637bb2c1fe59844af0b3dd975c84c9a7e7403
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/ui.slider.js
@@ -198,7 +198,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
}
});

//workaround for bug #3736
// workaround for bug #3736 (if both handles of a range are at 0, the first is always used as the one with least distance,
// and moving it is obviously prevented by preventing negative ranges)
if(o.range && (this.values(0) + this.values(1)) == 0) {
closestHandle = $(this.handles[++index]);
}

0 comments on commit 4bf637b

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