News for hackers. Stuff that matters.
Re:The Single Piece of JavaScript on HN by gordonzhu on Thursday March 17, 2016 @06:25PM (#11308114)
Without JS, return false from the vote function wouldn't happen, so I guess clicking upvote would follow node.href, which would send the vote to the server. It would work anyway, there would just be a redirect that would trigger a page refresh. Pretty cool. Just tried it out and confirmed.

There are no comments on this comment yet.