From 4ef2e7f21982ab1361588fdb73355807825d9d3c Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 12 May 2018 12:40:46 +0200 Subject: [PATCH] Added new link to about website in the footer --- assets/js/components/bottom/main.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/js/components/bottom/main.js b/assets/js/components/bottom/main.js index 511c2c52..fbc33db1 100644 --- a/assets/js/components/bottom/main.js +++ b/assets/js/components/bottom/main.js @@ -52,6 +52,18 @@ ComunicWeb.components.bottom.main = { langLink.onclick = function(){ ComunicWeb.components.langPicker.show(); }; + + add_space(leftElements); + add_space(leftElements); + + //Add about link + var aboutLink = createElem2({ + appendTo: leftElements, + type: "a", + innerHTML: " About", + href: ComunicWeb.__config.aboutWebsiteURL + }); + aboutLink.setAttribute("target", "_blank"); } } \ No newline at end of file