diff options
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 337e875f2..e8b78f074 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -32,7 +32,8 @@ $.widget("ui.selectmenu", { format: null, escapeHtml: false, bgImage: function() {}, - wrapperElement: "<div />" + wrapperElement: "<span />", + listWrapperElement: "<div />" }, _create: function() { @@ -202,7 +203,7 @@ $.widget("ui.selectmenu", { 'aria-labelledby': this.ids[1], 'id': this.ids[2] }); - this.listWrap = $( o.wrapperElement ) + this.listWrap = $( o.listWrapperElement ) .addClass( self.widgetBaseClass + '-menu' ) .append( this.list ) .appendTo( 'body' ); |