diff options
author | maggiewachs <maggie@filamentgroup.com> | 2011-02-24 11:46:51 -0500 |
---|---|---|
committer | maggiewachs <maggie@filamentgroup.com> | 2011-02-24 11:46:51 -0500 |
commit | f73466a3209f0241a78a550ec89395caa490256a (patch) | |
tree | cad7c97ee71ac94c59b5063375dda3c63550a550 | |
parent | adf80bfb38ba20eb089633c8867bce4131ec1e23 (diff) | |
download | jquery-ui-f73466a3209f0241a78a550ec89395caa490256a.tar.gz jquery-ui-f73466a3209f0241a78a550ec89395caa490256a.zip |
Removed active state when menu closes
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 93b75326f..f51c261d4 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -256,7 +256,9 @@ $.widget("ui.menu", { }, closeAll: function() { - this.element.find("ul").hide(); + this.element + .find("ul").hide().end() + .find("a.ui-state-active").removeClass("ui-state-active"); this.blur(); this.activeMenu = this.element; }, |