by TobiasFunkeMD · 14y ago · 0 comments
var getCommentUrl = function(anchor) { return $(anchor).closest('tr').next().find('a:nth-child(3)').prop('href'); };
to
var getCommentUrl = function(anchor) { return $(anchor).closest('tr').next().find('a[href^="item"]').prop('href'); };
Not that HN will ever change their html...
You can create a pull request if you want, since it's on github, otherwise I'll definitely change that myself