mirror of https://gitlab.com/tildes/tildes.git
Browse Source
This switches comment voting to use the "toggle buttons" that most other actions are using (e.g. Bookmark). This makes it so that only the vote button is replaced, instead of the entire comment's contents. This is mostly significant when the comment contains a <details> block, because previously voting/unvoting while one of those was expanded would cause it to collapse when the comment was replaced. As another side-effect of this, voting will now always appear to increase the count by 1, and unvoting will always appear to decrease it by 1. Previously it would re-query the comment, which could result in larger jumps in the vote count if other people were voting at the same time. That confused some people, so this will probably be better.merge-requests/86/head
Deimos
5 years ago
3 changed files with 18 additions and 41 deletions
Loading…
Reference in new issue