diff options
author | Felix Nagel <info@felixnagel.com> | 2012-01-17 16:09:31 -0800 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-01-17 16:09:31 -0800 |
commit | 7dd8c0844b769e6ea12e28cc610c7665d1243dd0 (patch) | |
tree | 50adb2ad9596d2c5b395069f8b42ddd622d12e63 /ui/jquery.ui.selectmenu.js | |
parent | 569d40163ab47e22221144f656de8c03893e033d (diff) | |
parent | f90d720eebb53c336ee9b8b10e5a5ed5adca6bb3 (diff) | |
download | jquery-ui-7dd8c0844b769e6ea12e28cc610c7665d1243dd0.tar.gz jquery-ui-7dd8c0844b769e6ea12e28cc610c7665d1243dd0.zip |
Merge pull request #166 from betalb/patch-1
fixed: make button span so its inline element
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' ); |