aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r--ui/jquery.ui.selectmenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index 6bdfd95ae..3ff1e62ff 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -100,7 +100,6 @@ $.widget( "ui.selectmenu", {
'aria-owns': that.ids[ 2 ],
'aria-haspopup': true
})
- .addClass( that.widgetBaseClass + '-button' )
.button({
label: this.element.find( "option:selected" ).text(),
icons: {
@@ -110,6 +109,7 @@ $.widget( "ui.selectmenu", {
// wrap and insert new button
that.newelementWrap = $( '<span />' )
+ .addClass( that.widgetBaseClass + '-button' )
.append( that.newelement )
.insertAfter( that.element );
},