diff options
-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; }, |