From 8072099a3ac78340b4b861d76aac082968cd1df7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 4 Dec 2012 09:21:16 -0500 Subject: [PATCH] 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 53b940fa27fc50b4663eef77249a9afce4129240. --- ui/jquery.ui.menu.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 26789594d..45c1ec2e4 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -148,9 +148,7 @@ $.widget( "ui.menu", { .removeAttr( "aria-hidden" ) .removeAttr( "aria-disabled" ) .removeUniqueId() - .css({ - display: "" - }); + .show(); // Destroy menu items this.element.find( ".ui-menu-item" ) -- 2.39.5