mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Removed active state when menu closes
This commit is contained in:
parent
adf80bfb38
commit
f73466a320
4
ui/jquery.ui.menu.js
vendored
4
ui/jquery.ui.menu.js
vendored
@ -256,7 +256,9 @@ $.widget("ui.menu", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
closeAll: function() {
|
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.blur();
|
||||||
this.activeMenu = this.element;
|
this.activeMenu = this.element;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user