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.

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 76095.48
ETH 2918.89
USDT 1.00
SBD 2.65