mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Sidebar can remains closed on page change
This commit is contained in:
parent
949e9accdd
commit
8ac1aaafdb
@ -247,7 +247,9 @@ ComunicWeb.common.page = {
|
||||
|
||||
|
||||
//Set body class
|
||||
document.body.className="hold-transition fixed skin-blue " + (signed_in() ? "sidebar-mini" : "layout-top-nav");
|
||||
document.body.className="hold-transition fixed skin-blue " +
|
||||
(signed_in() ? "sidebar-mini" : "layout-top-nav") +
|
||||
(document.body.className.includes("sidebar-collapse") ? " sidebar-collapse " : "");
|
||||
|
||||
//We load the menubar
|
||||
ComunicWeb.components.menuBar.common.display();
|
||||
|
Loading…
Reference in New Issue
Block a user