diff options
Diffstat (limited to 'ui/ui.slider.js')
-rw-r--r-- | ui/ui.slider.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index 213607bac..5e3e28d26 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -344,7 +344,7 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { var orientation = this.options.orientation; if (orientation != 'horizontal' && orientation != 'vertical') orientation = 'horizontal'; - + return orientation; }, @@ -367,7 +367,7 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { var val = this.options.values[index]; if (val < this._valueMin()) val = this._valueMin(); if (val > this._valueMax()) val = this._valueMax(); - + return val; } else { return this.options.values; |