aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorHans Hillen <hans.hillen@gmail.com>2011-04-18 23:05:50 +0200
committerHans Hillen <hans.hillen@gmail.com>2011-04-18 23:05:50 +0200
commitd77185a5a115174cf6ab8bf5224f652124008e19 (patch)
treef3794aa9d6ef7c05f83d799193f6934e23b996b6 /ui
parente448cd076153500f178878abfa7db7631d452ad8 (diff)
downloadjquery-ui-d77185a5a115174cf6ab8bf5224f652124008e19.tar.gz
jquery-ui-d77185a5a115174cf6ab8bf5224f652124008e19.zip
Fix "menubar does not collapse when clicking on other menubar" + minor changes
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.menu.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index 0b2852f06..0a06fe0b5 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -319,6 +319,7 @@ $.widget("ui.menu", {
if (newItem && newItem.length) {
this._open(newItem.parent());
var current = this.active;
+ //timeout so Firefox will not hide activedescendant change in expanding submenu from AT
setTimeout(function(){self.focus(event, newItem)}, 20);
return true;
}