From 5b45d618dc208af58f968922fd799a7a8d8b1fac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Thu, 28 Jul 2011 15:53:55 +0200 Subject: [PATCH] Widget delegation: Further simplify menu code, blur handler also doesn't do anything --- ui/jquery.ui.menu.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.39.5