mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b
).
This commit is contained in:
parent
d687a1b10d
commit
53b940fa27
4
ui/jquery.ui.menu.js
vendored
4
ui/jquery.ui.menu.js
vendored
@ -148,7 +148,9 @@ $.widget( "ui.menu", {
|
|||||||
.removeAttr( "aria-hidden" )
|
.removeAttr( "aria-hidden" )
|
||||||
.removeAttr( "aria-disabled" )
|
.removeAttr( "aria-disabled" )
|
||||||
.removeUniqueId()
|
.removeUniqueId()
|
||||||
.show();
|
.css({
|
||||||
|
display: ""
|
||||||
|
});
|
||||||
|
|
||||||
// Destroy menu items
|
// Destroy menu items
|
||||||
this.element.find( ".ui-menu-item" )
|
this.element.find( ".ui-menu-item" )
|
||||||
|
Loading…
Reference in New Issue
Block a user