From 769b7f2af5c273489a57c0b83ae52c08ebe9497f Mon Sep 17 00:00:00 2001 From: Michael Andrewartha Date: Tue, 30 Jul 2013 15:02:26 +1200 Subject: [PATCH] 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 --- admin/javascript/LeftAndMain.Panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/javascript/LeftAndMain.Panel.js b/admin/javascript/LeftAndMain.Panel.js index c772d1a02..645ecdd38 100644 --- a/admin/javascript/LeftAndMain.Panel.js +++ b/admin/javascript/LeftAndMain.Panel.js @@ -111,7 +111,7 @@ } }); - $('.cms-panel.collapsed').entwine({ + $('.cms-panel.collapsed .cms-panel-toggle').entwine({ onclick: function(e) { this.expandPanel(); e.preventDefault();