Skip to content
Permalink
Browse files

Widget delegation: Further simplify menu code, blur handler also does…

…n't do anything
  • Loading branch information
jzaefferer committed Jul 28, 2011
1 parent 9e2efe9 commit 5b45d618dc208af58f968922fd799a7a8d8b1fac
Showing with 1 addition and 3 deletions.
  1. +1 −3 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();

0 comments on commit 5b45d61

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