Show banners

This commit is contained in:
2021-12-30 10:23:47 +01:00
parent ebf6cf2fc3
commit 1cb1ec2b3f
13 changed files with 159 additions and 11 deletions

View File

@ -121,4 +121,14 @@ ComunicWeb.common.langs = {
return string;
},
}
/**
* Get current language
*
* @returns {string}
*/
function currLang() {
return ComunicWeb.common.langs.current();
}

View File

@ -252,7 +252,7 @@ const Page = {
(document.body.className.includes("sidebar-collapse") ? " sidebar-collapse " : "");
//We load the menubar
ComunicWeb.components.menuBar.common.display();
MenuBar.display();
//Bottom
ComunicWeb.components.bottom.main.display();