From: Jörn Zaefferer Date: Thu, 28 Jul 2011 13:53:55 +0000 (+0200) Subject: Widget delegation: Further simplify menu code, blur handler also doesn't do anything X-Git-Tag: 1.9m6~91^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5b45d618dc208af58f968922fd799a7a8d8b1fac;p=jquery-ui.git Widget delegation: Further simplify menu code, blur handler also doesn't do anything --- diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 17f8db2f5..b8affd168 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -64,9 +64,7 @@ $.widget( "ui.menu", { "focus": function( event ) { this.focus( event, $( event.target ).children( ".ui-menu-item:first" ) ); }, - "blur": function( event ) { - this.collapseAll( event ); - } + "blur": "collapseAll" }); this.refresh();