]> source.dussan.org Git - jquery-ui.git/commitdiff
Revert "Menu: Remove display property on hidden submenus instead of setting display...
authorScott González <scott.gonzalez@gmail.com>
Tue, 4 Dec 2012 14:21:16 +0000 (09:21 -0500)
committerScott González <scott.gonzalez@gmail.com>
Tue, 4 Dec 2012 14:21:16 +0000 (09:21 -0500)
This reverts commit 53b940fa27fc50b4663eef77249a9afce4129240.

ui/jquery.ui.menu.js

index 26789594ded90e087a73c09b01ab8519a787ca65..45c1ec2e4b64722290aa11246a6feaf652d25ad1 100644 (file)
@@ -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" )