mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b).
This commit is contained in:
4
ui/jquery.ui.menu.js
vendored
4
ui/jquery.ui.menu.js
vendored
@@ -148,7 +148,9 @@ $.widget( "ui.menu", {
|
||||
.removeAttr( "aria-hidden" )
|
||||
.removeAttr( "aria-disabled" )
|
||||
.removeUniqueId()
|
||||
.show();
|
||||
.css({
|
||||
display: ""
|
||||
});
|
||||
|
||||
// Destroy menu items
|
||||
this.element.find( ".ui-menu-item" )
|
||||
|
||||
Reference in New Issue
Block a user