CustomTube icon indicating copy to clipboard operation
CustomTube copied to clipboard

Clicked like/dislike buttons, but the counter is stuck or going down

Open ParkerGit2328 opened this issue 1 year ago • 5 comments

I clicked the like/dislike button, then refreshed the page to check the counter, but the counter is stuck at the same numbers or going down.

ParkerGit2328 avatar Oct 13 '23 02:10 ParkerGit2328

Is this 1.2.2? If so, something weird does seem to be going on with the like counter. I don't think the counter is stuck though. A video was at 46 likes, I liked it, and it went down to 45 when I refreshed. Unliking and refreshing brought it up to 46 again.

In version 1.2.2, like counts are now grabbed from the API, rather than the like button element itself. This probably has something to do with it. I'll have to look into it. Maybe I'll have to revert the change.

lightbeam24 avatar Oct 13 '23 02:10 lightbeam24

A video was at 46 likes, I liked it, and it went down to 45 when I refreshed. Unliking and refreshing brought it up to 46 again.

Yep, I did the same.

ParkerGit2328 avatar Oct 13 '23 03:10 ParkerGit2328

Updated the title a bit.

ParkerGit2328 avatar Oct 13 '23 19:10 ParkerGit2328

or going down.

@ParkerGit2328 You mean like this? Because I got this today in a private window.

https://github.com/lightbeam24/CustomTube/assets/95102462/916fc436-df0b-475c-b077-e8d64cc6dae8

user73185 avatar Oct 13 '23 23:10 user73185

A video was at 46 likes, I liked it, and it went down to 45 when I refreshed. Unliking and refreshing brought it up to 46 again.

I meant this, actually.

ParkerGit2328 avatar Oct 14 '23 20:10 ParkerGit2328