diff --git a/assets/js/common/functionsSchema.js b/assets/js/common/functionsSchema.js index b57739ab..64e26dd4 100644 --- a/assets/js/common/functionsSchema.js +++ b/assets/js/common/functionsSchema.js @@ -523,13 +523,6 @@ var ComunicWeb = { */ bottom: { - /** - * Bottom links - */ - links: [ - //TODO : implement - ], - /** * Main bottom script file */ diff --git a/assets/js/components/bottom/links.js b/assets/js/components/bottom/links.js index 71f4f7e4..e4b53afe 100644 --- a/assets/js/components/bottom/links.js +++ b/assets/js/components/bottom/links.js @@ -4,7 +4,7 @@ * @author Pierre HUBERT */ -ComunicWeb.components.bottom.links = [ +const BottomLinks = [ //Language selector { diff --git a/assets/js/components/bottom/main.js b/assets/js/components/bottom/main.js index 7eaeb650..a6bf6f71 100644 --- a/assets/js/components/bottom/main.js +++ b/assets/js/components/bottom/main.js @@ -43,7 +43,7 @@ ComunicWeb.components.bottom.main = { innerHTML: "Comunic     " }); - ComunicWeb.components.bottom.links.forEach(function(link){ + BottomLinks.forEach(function(link){ var linkEl = createElem2({ appendTo: leftElements, diff --git a/assets/js/components/menuBar/authenticated.js b/assets/js/components/menuBar/authenticated.js index 37640f4f..3523dd93 100644 --- a/assets/js/components/menuBar/authenticated.js +++ b/assets/js/components/menuBar/authenticated.js @@ -197,7 +197,7 @@ ComunicWeb.components.menuBar.authenticated = { class: "divider" }); - ComunicWeb.components.bottom.links.forEach(addMenuOption); + BottomLinks.forEach(addMenuOption); //Return dropdown content element