Skip to content

Commit ef9a0c0

Browse files
committed
Menu: Typo in comment
1 parent 94d87c8 commit ef9a0c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ $.widget( "ui.menu", {
297297
// initialize unlinked menu-items containing spaces and/or dashes only as dividers
298298
menus.children( ":not(.ui-menu-item)" ).each( function() {
299299
var item = $( this );
300-
// hypen, em dash, en dash
300+
// hyphen, em dash, en dash
301301
if ( !/[^\-\s]/.test( item.text() ) ) {
302302
item.addClass( "ui-widget-content ui-menu-divider" );
303303
}

0 commit comments

Comments
 (0)