Fixing expanding/collapse CMS menu targeting wrong element

If a user clicks the log out button (for example) and the menu is
collapsed, the menu expands and then you have to press log out
again
This commit is contained in:
Michael Andrewartha 2013-07-30 15:02:26 +12:00
parent 541436feb0
commit 769b7f2af5

View File

@ -111,7 +111,7 @@
}
});
$('.cms-panel.collapsed').entwine({
$('.cms-panel.collapsed .cms-panel-toggle').entwine({
onclick: function(e) {
this.expandPanel();
e.preventDefault();