Skip to content

Commit a27b5d7

Browse files
author
Gabriel Schulhof
committed
Selectmenu: Close tag on wrapper
1 parent 0d533e0 commit a27b5d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/widgets/forms/select.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ $.widget( "mobile.selectmenu", $.extend( {
7676
classes += " ui-mini";
7777
}
7878

79-
this.select = this.element.removeClass( "ui-btn-left ui-btn-right" ).wrap( "<div class='ui-select" + classes + "'>" );
79+
this.select = this.element
80+
.removeClass( "ui-btn-left ui-btn-right" )
81+
.wrap( "<div class='ui-select" + classes + "'></div>" );
8082
this.selectId = this.select.attr( "id" ) || ( "select-" + this.uuid );
8183
this.buttonId = this.selectId + "-button";
8284
this.label = $( "label[for='"+ this.selectId +"']" );

0 commit comments

Comments
 (0)