diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-03 12:50:25 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-03 17:03:01 +0100 |
commit | 4992fc902eae207737be33e5b937980b4765bbf7 (patch) | |
tree | 6283f17c4f473d56bb484b320eaa91aa665d38ea /ui | |
parent | 25f16855bab2d4819d50e254d040d318036ad6f1 (diff) | |
download | jquery-ui-4992fc902eae207737be33e5b937980b4765bbf7.tar.gz jquery-ui-4992fc902eae207737be33e5b937980b4765bbf7.zip |
Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index c5d2bc777..86ef4577e 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -147,7 +147,7 @@ $.widget( "ui.menu", { this.element .removeAttr( "aria-activedescendant" ) .find( ".ui-menu" ).addBack() - .removeClass( "ui-menu ui-widget ui-widget-content ui-menu-icons" ) + .removeClass( "ui-menu ui-widget ui-widget-content ui-menu-icons ui-front" ) .removeAttr( "role" ) .removeAttr( "tabIndex" ) .removeAttr( "aria-labelledby" ) @@ -292,7 +292,7 @@ $.widget( "ui.menu", { // Initialize nested menus submenus.filter( ":not(.ui-menu)" ) - .addClass( "ui-menu ui-widget ui-widget-content" ) + .addClass( "ui-menu ui-widget ui-widget-content ui-front" ) .hide() .attr({ role: this.options.role, |