aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-10-05 00:50:59 +0200
committerFelix Nagel <info@felixnagel.com>2011-10-05 00:50:59 +0200
commitd1208900f853784c4ba38c07bc188792d3767ead (patch)
treee3547e1af984572edf60b8e62ac601a295ed2512 /ui
parentd83f0b2de94ea3b2bbf63a8abdfdeadeea8956cd (diff)
downloadjquery-ui-d1208900f853784c4ba38c07bc188792d3767ead.tar.gz
jquery-ui-d1208900f853784c4ba38c07bc188792d3767ead.zip
Selectmenu: fixed CSS class for button wrapper
Diffstat (limited to 'ui')
-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 );
},