Removed active state when menu closes

This commit is contained in:
maggiewachs 2011-02-24 11:46:51 -05:00
parent adf80bfb38
commit f73466a320

View File

@ -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;
},