You are viewing a single comment's thread from:

RE: profile

in #blokz6 years ago (edited)

https://sn0n.github.io/demo/?steem=blokz is currently broken because of a lack in skills (&hobbies).

The code responsible for this is

var skills = blokify[0].skills;

skillsLog = skills.split(',');
skillsLog.forEach(function(entry) {
    console.log(entry);
    entryy = entry.replace(/\s+/g, '');
    entryy = entryy.replace(/[^a-zA-Z0-9]/g,'');
    entryy = entryy.toLowerCase();
    var a = document.createElement('a');
    var linkText = document.createTextNode(entry);
    a.appendChild(linkText);
    a.title = entry;
    a.target = "_blank";
    a.href = "http://steemit.com/trending/"+entryy;
    document.getElementById("skills").appendChild(a);

I'll fix this on both ends (@blokz profile and sn0n.github) today.

Sort:  

fixed. also fixed the friends section which included a similar error, which is variables not being set in the array.