Skip to content

Commit f73466a

Browse files
author
maggiewachs
committed
Removed active state when menu closes
1 parent adf80bf commit f73466a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/jquery.ui.menu.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,9 @@ $.widget("ui.menu", {
256256
},
257257

258258
closeAll: function() {
259-
this.element.find("ul").hide();
259+
this.element
260+
.find("ul").hide().end()
261+
.find("a.ui-state-active").removeClass("ui-state-active");
260262
this.blur();
261263
this.activeMenu = this.element;
262264
},

0 commit comments

Comments
 (0)