mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Revert "Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b
)."
This reverts commit 53b940fa27
.
This commit is contained in:
parent
86f1087931
commit
8072099a3a
4
ui/jquery.ui.menu.js
vendored
4
ui/jquery.ui.menu.js
vendored
@ -148,9 +148,7 @@ $.widget( "ui.menu", {
|
|||||||
.removeAttr( "aria-hidden" )
|
.removeAttr( "aria-hidden" )
|
||||||
.removeAttr( "aria-disabled" )
|
.removeAttr( "aria-disabled" )
|
||||||
.removeUniqueId()
|
.removeUniqueId()
|
||||||
.css({
|
.show();
|
||||||
display: ""
|
|
||||||
});
|
|
||||||
|
|
||||||
// Destroy menu items
|
// Destroy menu items
|
||||||
this.element.find( ".ui-menu-item" )
|
this.element.find( ".ui-menu-item" )
|
||||||
|
Loading…
Reference in New Issue
Block a user