diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-12-04 09:21:16 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-12-04 09:21:16 -0500 |
commit | 8072099a3ac78340b4b861d76aac082968cd1df7 (patch) | |
tree | 1cfda6c13e0fb6518deeff7cc0c60e62305e1e83 /ui/jquery.ui.menu.js | |
parent | 86f1087931dbae7ed82d8110c095093b5444270f (diff) | |
download | jquery-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.js | 4 |
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" ) |