Skip to content

Commit f90d720

Browse files
committed
This is proposed fix for fnagel#158
1 parent b914da6 commit f90d720

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ $.widget("ui.selectmenu", {
3131
icons: null,
3232
format: null,
3333
bgImage: function() {},
34-
wrapperElement: "<div />"
34+
wrapperElement: "<span />",
35+
listWrapperElement: "<div />"
3536
},
3637

3738
_create: function() {
@@ -186,7 +187,7 @@ $.widget("ui.selectmenu", {
186187
'aria-labelledby': this.ids[0],
187188
'id': this.ids[1]
188189
});
189-
this.listWrap = $( o.wrapperElement )
190+
this.listWrap = $( o.listWrapperElement )
190191
.addClass( self.widgetBaseClass + '-menu' )
191192
.append( this.list )
192193
.appendTo( 'body' );

0 commit comments

Comments
 (0)