Skip to content
Permalink
Browse files

Widget delegation: Further simplify menu code

  • Loading branch information
jzaefferer committed Jul 28, 2011
1 parent 02aad7b commit 9e2efe95b2f130778a43a441e157c6ecf5197c1a
Showing with 1 addition and 3 deletions.
  1. +1 −3 ui/jquery.ui.menu.js
@@ -60,9 +60,7 @@ $.widget( "ui.menu", {
target.siblings().children( ".ui-state-active" ).removeClass( "ui-state-active" );
this.focus( event, target );
},
"mouseout .ui-menu-item": function( event ) {
this.blur( event );
},
"mouseout .ui-menu-item": "blur",
"focus": function( event ) {
this.focus( event, $( event.target ).children( ".ui-menu-item:first" ) );
},

0 comments on commit 9e2efe9

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