From 009aa6a953ac0a7376baf0a7615e4c119ea59b23 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Tue, 9 Jul 2013 22:49:08 +0200 Subject: [PATCH] Selectmenu: add ui-front class to all appended elements --- ui/jquery.ui.selectmenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 464e94836..d23d7eb81 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -71,7 +71,7 @@ $.widget( "ui.selectmenu", { // Create button this.button = $( "", { - "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 = $( "
", { - "class": "ui-selectmenu-menu", + "class": "ui-selectmenu-menu ui-front", outerWidth: this.button.outerWidth() }) .append( this.menu ) -- 2.39.5