Skip to content

Commit 8072099

Browse files
committed
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 53b940f.
1 parent 86f1087 commit 8072099

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/jquery.ui.menu.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ $.widget( "ui.menu", {
148148
.removeAttr( "aria-hidden" )
149149
.removeAttr( "aria-disabled" )
150150
.removeUniqueId()
151-
.css({
152-
display: ""
153-
});
151+
.show();
154152

155153
// Destroy menu items
156154
this.element.find( ".ui-menu-item" )

0 commit comments

Comments
 (0)