Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

60%
+1 −0
Q&A Post score in title text of vote counts does not update when voting

When adding or removing an upvote or downvote, the user interface is updated without reloading the page. This changes the upvote and downvote buttons to be the appropriate colour based on whether t...

0 answers  ·  posted 1y ago by trichoplax‭  ·  edited 12mo ago by Monica Cellio‭

#2: Post edited by user avatar Monica Cellio‭ · 2023-12-04T04:21:02Z (12 months ago)
#1: Initial revision by user avatar trichoplax‭ · 2023-06-15T18:19:19Z (over 1 year ago)
Post score in title text of vote counts does not update when voting
When adding or removing an upvote or downvote, the user interface is updated without reloading the page. This changes the upvote and downvote buttons to be the appropriate colour based on whether the user has upvoted or downvoted or neither, and changes the number of upvotes and downvotes. However, it does not change the title text (tooltip/hovertext).

As an example, I added an upvote to a downvoted post, bring it up to equal upvotes and downvotes. I had to reload the page to make the score show as 0.5. I then removed my upvote, but the score still shows as 0.5:

![Mouse pointer hovering over the voting buttons showing a score of 0.5](https://meta.codidact.com/uploads/98swkfddsil22rvcpla3qbrowg8x)

A page reload restores the correct score.

Could the score in the title text be included as one of the things that is automatically updated without a page reload?