diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-12-04 00:49:37 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-12-04 00:49:37 +0100 |
commit | 53b940fa27fc50b4663eef77249a9afce4129240 (patch) | |
tree | 1fe44dd054dfdc6713eef8a19565545d20fdea28 /ui | |
parent | d687a1b10d1e176a6a8dd4420f1ea3a890640da0 (diff) | |
download | jquery-ui-53b940fa27fc50b4663eef77249a9afce4129240.tar.gz jquery-ui-53b940fa27fc50b4663eef77249a9afce4129240.zip |
Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b).
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 45c1ec2e4..26789594d 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -148,7 +148,9 @@ $.widget( "ui.menu", { .removeAttr( "aria-hidden" ) .removeAttr( "aria-disabled" ) .removeUniqueId() - .show(); + .css({ + display: "" + }); // Destroy menu items this.element.find( ".ui-menu-item" ) |