]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Typo in comment
authorkborchers <kris.borchers@gmail.com>
Fri, 1 Jun 2012 00:55:18 +0000 (19:55 -0500)
committerkborchers <kris.borchers@gmail.com>
Fri, 1 Jun 2012 00:55:18 +0000 (19:55 -0500)
ui/jquery.ui.menu.js

index 6969eff50657fcb46a8f548ca67ac59ec0450a3c..daae776c05a1448cf73e3ad3ca8b27b56f3d598d 100644 (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" );
                        }