4 ms·
> Here on HN (which is not a SPA) if I upvote someones comment while I'm responding to it, I lose my response. That only happens if you disable JavaScript and
by oefrha 3y ago
> Here on HN (which is not a SPA) if I upvote someones comment while I'm responding to it, I lose my response.
That only happens if you disable JavaScript and voting has to be done through an href navigation. Otherwise HN constructs an Image with the voting URL as src, so there's no navigation and you don't lose anything.
- extraduder_ire 3y agoIt does lose it for me if I click on the reply link[0] and start typing. It works just as you say if I'm on the post itself[1] by clicking on the timestamp, and typing in the pre-existing reply box. [0]: https://news.ycombinator.com/reply?id=37400631&goto=item%3Fid%3D37400277%2337400631 https://news.ycombinator.com/reply?id=37400631&goto=item%3Fi... [1]: https://news.ycombinator.com/item?id=37400631 https://news.ycombinator.com/item?id=37400631