diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-07-28 15:52:52 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-07-28 15:52:52 +0200 |
commit | 9e2efe95b2f130778a43a441e157c6ecf5197c1a (patch) | |
tree | 4fb402dc2cab6330b895cea9254d3bbc8495cc5d /ui/jquery.ui.menu.js | |
parent | 02aad7b0ae8c752eb24f99d7a6a06aeeb5d17367 (diff) | |
download | jquery-ui-9e2efe95b2f130778a43a441e157c6ecf5197c1a.tar.gz jquery-ui-9e2efe95b2f130778a43a441e157c6ecf5197c1a.zip |
Widget delegation: Further simplify menu code
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 7cfa61f86..17f8db2f5 100644 --- a/ui/jquery.ui.menu.js +++ b/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" ) ); }, |