Skip to content
Permalink
Browse files

Menu: Typo in comment

  • Loading branch information...
kborchers committed Jun 1, 2012
1 parent 94d87c8 commit ef9a0c005cf8b299262a490b1ac5a529657d6829
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.menu.js
@@ -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" );
}

0 comments on commit ef9a0c0

Please sign in to comment.
You can’t perform that action at this time.