3 ms·
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.
by krapp 11y 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.
- ggreer 11y agoHN 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.