Y
Hacker News
new
|
ask
|
show
|
jobs
by
krapp
3744 days ago
Without javascript you would just keep track of which comments the logged-in user voted on in the requested thread and not render those buttons.
1 comments
ggreer
3744 days ago
HN has to do that anyway. The hide() and vote() functions only run on click. If you refresh the page, you'll see the response lacks anchor tags for comments/posts you've voted on. Those tags are replaced with a spacer image.
link