Commit Graph
2 Commits
Author SHA1 Message Date
surrealegg a0e1a6dbab Fix Dislikes of Private Videos are "NaN"
will fix #230

List of changes:

* Adding a check to see if traceId exsits on response.
  This appears during error, so it will prevent setting dislike count to NaN.

* Changed a way to check if fields exist.
  Because the old way 0 likes or 0 dislikes are considered invalid.
2021-12-06 22:28:45 +04:00
surrealegg 386b357049 Fix dislike count increasing in Firefox.
likeClicked() suppose to decrease the dislike count by 1 if the
previous state is "disliked", but the function is empty on Firefox.
2021-12-05 22:15:07 +04:00