Steps to reproduce:
- Use all the votes (15 currently)
- Go to not-voted feature topic. I used this one: Allow to upload app icon
- Click Limit
Expected result:
- Tooltip with text “You are out of votes, remove an existing vote!” appears
Actual result:
- Pop-up with 403 error is shown additionally (only when clicking first time after loading the page)
In the JS console I see that indeed there is a POST request to http://discuss.bitrise.io/voting/vote and response HTTP code is 403. Request is not performed on subsequent clicks.
Label text is set to “Limit”, not “Vote” so information whether voting is allowed is already present, there is no need to perform voting.