diff --git a/assets/js/common/page.js b/assets/js/common/page.js index fcce0dfc..81517a88 100644 --- a/assets/js/common/page.js +++ b/assets/js/common/page.js @@ -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();