Permalink
Browse files

Slider: Close tag on wrapper

Re gh-6699
Fixes gh-7849
Closes gh-7859
  • Loading branch information...
gabrielschulhof committed Nov 28, 2014
1 parent a27b5d7 commit 9576b76f12207f75808e4c12549e7a4a2030db57
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/widgets/forms/slider.js
@@ -160,7 +160,8 @@ $.widget( "mobile.slider", $.extend( {
// wrap in a div for styling purposes
if ( !isToggleSwitch && !isRangeslider ) {
wrapper = this.options.mini ? "<div class='ui-slider ui-mini'>" : "<div class='ui-slider'>";
wrapper = "<div class='ui-slider" +
( this.options.mini ? " ui-mini" : "" ) + "'></div>";
control.add( slider ).wrapAll( wrapper );
}

0 comments on commit 9576b76

Please sign in to comment.