diff options
Diffstat (limited to 'ui/slider.js')
-rw-r--r-- | ui/slider.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/slider.js b/ui/slider.js index 73bfb0273..58b5c0759 100644 --- a/ui/slider.js +++ b/ui/slider.js @@ -454,6 +454,9 @@ return $.widget( "ui.slider", $.ui.mouse, { .removeClass( "ui-slider-horizontal ui-slider-vertical" ) .addClass( "ui-slider-" + this.orientation ); this._refreshValue(); + + // Reset positioning from previous orientation + this.handles.css( value === "horizontal" ? "bottom" : "left", "" ); break; case "value": this._animateOff = true; |