Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
fixing htmlification
  • Loading branch information
eightheve authored Nov 11, 2024
1 parent 1d9e2b0 commit ca0ec72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fetch(DATA_FOR_WEBRING)
count.innerHTML = sites.length;

for (var i = 0; i < sites.length; i++){
list.innerHTML += "<div><p><a href=" + sites[i].url + ">" + sites[i].name + "</a></p></div>";
list.innerText += "<div><p><a href=" + sites[i].url + ">" + sites[i].name + "</a></p></div>";
}


Expand Down

0 comments on commit ca0ec72

Please sign in to comment.