Skip to content

Commit 5b45d61

Browse files
committed
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
1 parent 9e2efe9 commit 5b45d61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/jquery.ui.menu.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ $.widget( "ui.menu", {
6464
"focus": function( event ) {
6565
this.focus( event, $( event.target ).children( ".ui-menu-item:first" ) );
6666
},
67-
"blur": function( event ) {
68-
this.collapseAll( event );
69-
}
67+
"blur": "collapseAll"
7068
});
7169

7270
this.refresh();

0 commit comments

Comments
 (0)