aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.menu.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-07-28 15:53:55 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-07-28 15:53:55 +0200
commit5b45d618dc208af58f968922fd799a7a8d8b1fac (patch)
treecec50a715ba8f373de99020f9fab074e29e911c9 /ui/jquery.ui.menu.js
parent9e2efe95b2f130778a43a441e157c6ecf5197c1a (diff)
downloadjquery-ui-5b45d618dc208af58f968922fd799a7a8d8b1fac.tar.gz
jquery-ui-5b45d618dc208af58f968922fd799a7a8d8b1fac.zip
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r--ui/jquery.ui.menu.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index 17f8db2f5..b8affd168 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -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();