diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.slider.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index e011043ea..30a610059 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -322,8 +322,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { value: this.value() }; if (this.options.values && this.options.values.length) { - uiHash.value = this.values(index) - uiHash.values = this.values() + uiHash.value = this.values(index); + uiHash.values = this.values(); } this._trigger("start", event, uiHash); }, @@ -380,8 +380,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { value: this.value() }; if (this.options.values && this.options.values.length) { - uiHash.value = this.values(index) - uiHash.values = this.values() + uiHash.value = this.values(index); + uiHash.values = this.values(); } this._trigger("stop", event, uiHash); }, @@ -392,8 +392,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { value: this.value() }; if (this.options.values && this.options.values.length) { - uiHash.value = this.values(index) - uiHash.values = this.values() + uiHash.value = this.values(index); + uiHash.values = this.values(); } this._trigger("change", event, uiHash); }, |