Fix some links :)

This commit is contained in:
dginovker 2020-12-09 10:15:30 -05:00
parent 9000be0296
commit 5b56ef81d6

View File

@ -94,7 +94,11 @@ function populatePlayerHSTable() {
row.childNodes[3].replaceWith(document.createElement("td"));
row.childNodes[3].className = "alL";
row.childNodes[3].innerHTML = sName[i + 24 * page - 1];
row.childNodes[3].innerHTML = `<a href="./hiscores.html">${sName[i - 1]}</a>`;
row.childNodes[3].addEventListener("click", e => {
e.preventDefault();
loadSkillTable(i - 1);
})
row.childNodes[5].replaceWith(document.createElement("td"));
row.childNodes[5].className = "alL";