diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-07-28 15:53:55 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-07-28 15:53:55 +0200 |
commit | 5b45d618dc208af58f968922fd799a7a8d8b1fac (patch) | |
tree | cec50a715ba8f373de99020f9fab074e29e911c9 /ui/jquery.ui.menu.js | |
parent | 9e2efe95b2f130778a43a441e157c6ecf5197c1a (diff) | |
download | jquery-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.js | 4 |
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(); |