mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
541436feb0
commit
769b7f2af5
@ -111,7 +111,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('.cms-panel.collapsed').entwine({
|
||||
$('.cms-panel.collapsed .cms-panel-toggle').entwine({
|
||||
onclick: function(e) {
|
||||
this.expandPanel();
|
||||
e.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user