mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
slider: added better description for workaround for #3726
This commit is contained in:
parent
0305e19240
commit
4bf637bb2c
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user