mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +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
|
// Create button
|
||||||
this.button = $( "<span>", {
|
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,
|
tabindex: tabindex || this.options.disabled ? -1 : 0,
|
||||||
id: this.ids.button,
|
id: this.ids.button,
|
||||||
width: this.element.outerWidth(),
|
width: this.element.outerWidth(),
|
||||||
@ -110,7 +110,7 @@ $.widget( "ui.selectmenu", {
|
|||||||
|
|
||||||
// Wrap menu
|
// Wrap menu
|
||||||
this.menuWrap = $( "<div>", {
|
this.menuWrap = $( "<div>", {
|
||||||
"class": "ui-selectmenu-menu",
|
"class": "ui-selectmenu-menu ui-front",
|
||||||
outerWidth: this.button.outerWidth()
|
outerWidth: this.button.outerWidth()
|
||||||
})
|
})
|
||||||
.append( this.menu )
|
.append( this.menu )
|
||||||
|
Loading…
Reference in New Issue
Block a user