mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: add ui-front class to all appended elements
This commit is contained in:
parent
c571f7bea9
commit
009aa6a953
4
ui/jquery.ui.selectmenu.js
vendored
4
ui/jquery.ui.selectmenu.js
vendored
@ -71,7 +71,7 @@ $.widget( "ui.selectmenu", {
|
||||
|
||||
// Create button
|
||||
this.button = $( "<span>", {
|
||||
"class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",
|
||||
"class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all ui-front",
|
||||
tabindex: tabindex || this.options.disabled ? -1 : 0,
|
||||
id: this.ids.button,
|
||||
width: this.element.outerWidth(),
|
||||
@ -110,7 +110,7 @@ $.widget( "ui.selectmenu", {
|
||||
|
||||
// Wrap menu
|
||||
this.menuWrap = $( "<div>", {
|
||||
"class": "ui-selectmenu-menu",
|
||||
"class": "ui-selectmenu-menu ui-front",
|
||||
outerWidth: this.button.outerWidth()
|
||||
})
|
||||
.append( this.menu )
|
||||
|
Loading…
Reference in New Issue
Block a user