soundcloud/soundcloud-competition — pull request #3 by caselas (2012-02-17 19:41:06+00:00)
Title: Small fixes in the competition.js.coffee file

Added a check for actual track selection before allowing submit. Previously ended up with vague heroku error screen.

Also added a preventative measure for users on slow connections, attempting to vote on a track. Occasionally, the vote appears to be cast, but if the data hasn't fully loaded, the user may leave the page without ever properly casting vote. Just added a confirm function to the voting which is set to null after success.