Skip to content
Permalink
Browse files

Selectmenu: add ui-front class to all appended elements

  • Loading branch information
fnagel committed Jul 9, 2013
1 parent c571f7b commit 009aa6a953ac0a7376baf0a7615e4c119ea59b23
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.selectmenu.js
@@ -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 )

0 comments on commit 009aa6a

Please sign in to comment.
You can’t perform that action at this time.