Skip to content

Commit 9e2efe9

Browse files
committed
Widget delegation: Further simplify menu code
1 parent 02aad7b commit 9e2efe9

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
@@ -60,9 +60,7 @@ $.widget( "ui.menu", {
6060
target.siblings().children( ".ui-state-active" ).removeClass( "ui-state-active" );
6161
this.focus( event, target );
6262
},
63-
"mouseout .ui-menu-item": function( event ) {
64-
this.blur( event );
65-
},
63+
"mouseout .ui-menu-item": "blur",
6664
"focus": function( event ) {
6765
this.focus( event, $( event.target ).children( ".ui-menu-item:first" ) );
6866
},

0 commit comments

Comments
 (0)