mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Menu: Typo in comment
This commit is contained in:
parent
94d87c8ad6
commit
ef9a0c005c
2
ui/jquery.ui.menu.js
vendored
2
ui/jquery.ui.menu.js
vendored
@ -297,7 +297,7 @@ $.widget( "ui.menu", {
|
||||
// initialize unlinked menu-items containing spaces and/or dashes only as dividers
|
||||
menus.children( ":not(.ui-menu-item)" ).each( function() {
|
||||
var item = $( this );
|
||||
// hypen, em dash, en dash
|
||||
// hyphen, em dash, en dash
|
||||
if ( !/[^\-—–\s]/.test( item.text() ) ) {
|
||||
item.addClass( "ui-widget-content ui-menu-divider" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user