mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 10:35:51 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
17888bb2b1
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ module.exports = class CastButtonView extends CocoView
|
|||
updateLadderSubmissionViews: ->
|
||||
@removeSubView subview for key, subview of @subviews when subview instanceof LadderSubmissionView
|
||||
placeholder = @$el.find('.ladder-submission-view')
|
||||
return unless placeholder.length
|
||||
@ladderSubmissionView = new LadderSubmissionView session: @options.session, level: @options.level, mirrorSession: @mirrorSession
|
||||
@insertSubView @ladderSubmissionView, placeholder
|
||||
|
||||
|
|
Loading…
Reference in a new issue