mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Selectmenu: fixed CSS class for button wrapper
This commit is contained in:
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@@ -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 );
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user