Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Small bug in voting.js
This discussion is related to the Voting addon.
edited November 2011 in Vanilla 2.0 - 2.8
My vote.js already uses:
count = json.State ? ++count : (count ? --count : 0);
But clicking follow changes count to -1 then -2 if clicked again and -3 and onward.
Same here. When I click Follow from the main page it goes -1. If I keep clicking before a refresh it will go -2 -3 -4 and so on.
Once I refresh it goes to either 0 or 1 depending on how many times I clicked. So it's working (ie it's saving that bookmark) but it's just not displaying correctly.