Skip to content

Commit d120890

Browse files
committed
Selectmenu: fixed CSS class for button wrapper
1 parent d83f0b2 commit d120890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ $.widget( "ui.selectmenu", {
100100
'aria-owns': that.ids[ 2 ],
101101
'aria-haspopup': true
102102
})
103-
.addClass( that.widgetBaseClass + '-button' )
104103
.button({
105104
label: this.element.find( "option:selected" ).text(),
106105
icons: {
@@ -110,6 +109,7 @@ $.widget( "ui.selectmenu", {
110109

111110
// wrap and insert new button
112111
that.newelementWrap = $( '<span />' )
112+
.addClass( that.widgetBaseClass + '-button' )
113113
.append( that.newelement )
114114
.insertAfter( that.element );
115115
},

0 commit comments

Comments
 (0)