Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Synonym, explain and guess word explanations.
Edit: To the author the fix is pretty small:
In socket.on('toplist', (data) => {...})
Replace the line:
$('#toplist tr:last').after('<tr>' +'<td>' + topList[i].name + '</td>' + '<td>' + topList[i].points + '</td>'+ '</tr>');
$('#toplist tr:last').after($("<tr></tr>").append($("<td></td>").text(topList[i].name),$("<td></td>").text(topList[i].points)))
Edit: To the author the fix is pretty small:
In socket.on('toplist', (data) => {...})
Replace the line:
with: