Browse files

Selectmenu: fixed CSS class for button wrapper

  • Loading branch information...
1 parent d83f0b2 commit d1208900f853784c4ba38c07bc188792d3767ead @fnagel fnagel committed Oct 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
View
2 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 );
},

0 comments on commit d120890

Please sign in to comment.