]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectmenu: add ui-front class to all appended elements
authorFelix Nagel <info@felixnagel.com>
Tue, 9 Jul 2013 20:49:08 +0000 (22:49 +0200)
committerFelix Nagel <info@felixnagel.com>
Tue, 9 Jul 2013 20:49:08 +0000 (22:49 +0200)
ui/jquery.ui.selectmenu.js

index 464e948362f7c88822972a4fe4b7c1852d456e0b..d23d7eb819b5b34f1a96e0489c41f62d3678b86c 100644 (file)
@@ -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 )