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:
Scott González 2012-12-04 09:21:16 -05:00
parent 86f1087931
commit 8072099a3a

View File

@ -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" )