mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
This commit is contained in:
4
ui/jquery.ui.menu.js
vendored
4
ui/jquery.ui.menu.js
vendored
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user