mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-03 20:31:29 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
02a3c0e037
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ module.exports = class MyMatchesTabView extends CocoView
|
||||||
button = $(e.target).closest('.rank-button')
|
button = $(e.target).closest('.rank-button')
|
||||||
sessionID = button.data('session-id')
|
sessionID = button.data('session-id')
|
||||||
session = _.find @sessions.models, {id: sessionID}
|
session = _.find @sessions.models, {id: sessionID}
|
||||||
return unless @readyToRank(session)
|
return unless session.readyToRank()
|
||||||
|
|
||||||
@setRankingButtonText(button, 'submitting')
|
@setRankingButtonText(button, 'submitting')
|
||||||
success = =>
|
success = =>
|
||||||
|
|
Loading…
Reference in a new issue