mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Menu: Fixed typo in comment
This commit is contained in:
parent
9a6392033a
commit
fac809f9e5
2
ui/jquery.ui.menu.js
vendored
2
ui/jquery.ui.menu.js
vendored
@ -287,7 +287,7 @@ $.widget( "ui.menu", {
|
|||||||
// initialize unlinked menu-items as dividers
|
// initialize unlinked menu-items as dividers
|
||||||
menus.children( ":not(.ui-menu-item)" ).addClass( "ui-widget-content ui-menu-divider" );
|
menus.children( ":not(.ui-menu-item)" ).addClass( "ui-widget-content ui-menu-divider" );
|
||||||
|
|
||||||
// add aria-disabled attribut to any disabled menu item
|
// add aria-disabled attribute to any disabled menu item
|
||||||
menus.children( ".ui-state-disabled" ).attr( "aria-disabled", "true" );
|
menus.children( ".ui-state-disabled" ).attr( "aria-disabled", "true" );
|
||||||
|
|
||||||
submenus.each(function() {
|
submenus.each(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user