Commits

Lucian Brănescu-Mihăilă  committed 0ce1f08

Fix the (hopefully) last double forfeit bug.

  • Participants
  • Parent commits 2527715

Comments (0)

Files changed (1)

File app/static/scripts/game.coffee

   gamesAction = (ev) ->
     gamesButtons.unbind 'click', gamesAction
 
+    forfeitButton.unbind 'click' # can stay bound between games
     forfeitAction = (ev) ->
       forfeitButton.unbind 'click', forfeitAction
       game.forfeit()