]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Remove unnecessary returns from expand and collapse
authorkborchers <kris.borchers@gmail.com>
Tue, 10 Jul 2012 04:43:52 +0000 (23:43 -0500)
committerkborchers <kris.borchers@gmail.com>
Tue, 10 Jul 2012 05:14:54 +0000 (00:14 -0500)
ui/jquery.ui.menu.js

index 4e565de453e478aebdddba2596b65166a0d2c171..7861230aa72184156a17e6877c47fc43dddc0b49 100644 (file)
@@ -483,7 +483,6 @@ $.widget( "ui.menu", {
                if ( newItem && newItem.length ) {
                        this._close();
                        this.focus( event, newItem );
-                       return true;
                }
        },
 
@@ -501,7 +500,6 @@ $.widget( "ui.menu", {
                        this._delay(function() {
                                this.focus( event, newItem );
                        }, 20 );
-                       return true;
                }
        },