Simplify access to bottom links

This commit is contained in:
2021-02-20 11:07:41 +01:00
parent 515e254ad9
commit f5e0629b3e
4 changed files with 3 additions and 10 deletions

View File

@ -4,7 +4,7 @@
* @author Pierre HUBERT
*/
ComunicWeb.components.bottom.links = [
const BottomLinks = [
//Language selector
{

View File

@ -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,