1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

new favicons added

This commit is contained in:
Cevo 2015-10-08 14:42:56 +02:00
parent 15460ebc2a
commit b3a9bc2594
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@ function constructHeadElement(elementType, elementId, elementAttributes) {
let oldElement = document.getElementById(elementId); let oldElement = document.getElementById(elementId);
for (let k in elementAttributes){ for (let k in elementAttributes){
try { try {
console.log('Setting favicons');
console.log(elementAttributes[k]);
element.setAttribute(k, elementAttributes[k]); element.setAttribute(k, elementAttributes[k]);
} }
catch(e){ catch(e){