aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.menu.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-12-04 09:21:16 -0500
committerScott González <scott.gonzalez@gmail.com>2012-12-04 09:21:16 -0500
commit8072099a3ac78340b4b861d76aac082968cd1df7 (patch)
tree1cfda6c13e0fb6518deeff7cc0c60e62305e1e83 /ui/jquery.ui.menu.js
parent86f1087931dbae7ed82d8110c095093b5444270f (diff)
downloadjquery-ui-8072099a3ac78340b4b861d76aac082968cd1df7.tar.gz
jquery-ui-8072099a3ac78340b4b861d76aac082968cd1df7.zip
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.
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r--ui/jquery.ui.menu.js4
1 files changed, 1 insertions, 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" )