Code52/Ideastrike — Issue #33: Unvote bug when viewing Idea - cannot vote after unvoting
Author: rlaneve
Created: 2012-01-21 14:49:27+00:00
State: open

When viewing an idea, clicking the "vote" button results in the vote count increasing and the button being re-labeled as "unvote". However, while clicking "unvote" does result in the count being reduced and the button being re-labeled back to "vote", the button is now broken. Clicking again does not result in a vote being recorded and does not update the label to read "unvote". The JS check still considers the user to have already voted due to updating the wrong data attribute during the initial unvote action.

(I'll fix this - very minor, one-line correction.)