mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Fixed #4292 (Slider: ui.value incorrect in slide event if handle at value 0)
This commit is contained in:
parent
439d93bf8b
commit
4bfadc4514
@ -299,11 +299,15 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
|
||||
},
|
||||
|
||||
_start: function(event, index) {
|
||||
this._trigger("start", event, {
|
||||
var uiHash = {
|
||||
handle: this.handles[index],
|
||||
value: this.value(),
|
||||
values: this.values()
|
||||
});
|
||||
value: this.value()
|
||||
};
|
||||
if (this.options.values && this.options.values.length) {
|
||||
uiHash.value = this.values(index)
|
||||
uiHash.values = this.values()
|
||||
}
|
||||
this._trigger("start", event, uiHash);
|
||||
},
|
||||
|
||||
_slide: function(event, index, newVal) {
|
||||
|
Loading…
Reference in New Issue
Block a user