Merge branch 'master' into production

This commit is contained in:
Nick Winter 2014-05-12 19:56:48 -07:00
commit 02a3c0e037

View file

@ -174,7 +174,7 @@ module.exports = class MyMatchesTabView extends CocoView
button = $(e.target).closest('.rank-button')
sessionID = button.data('session-id')
session = _.find @sessions.models, {id: sessionID}
return unless @readyToRank(session)
return unless session.readyToRank()
@setRankingButtonText(button, 'submitting')
success = =>