Menu: Typo in comment

This commit is contained in:
kborchers 2012-05-31 19:55:18 -05:00
parent 94d87c8ad6
commit ef9a0c005c

View File

@ -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" );
}