mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
Fixed some indentation.
This commit is contained in:
parent
974e5e1b24
commit
9bc8ae11da
1 changed files with 5 additions and 5 deletions
|
@ -50,13 +50,13 @@ module.exports = class ThangTypeEditView extends View
|
|||
@thangType.saveBackups = true
|
||||
|
||||
@listenToOnce(@thangType, 'error', =>
|
||||
@hideLoading()
|
||||
@hideLoading()
|
||||
|
||||
# Hack: editor components appear after calling insertSubView.
|
||||
# So we need to hide them first.
|
||||
$(@$el).find('.main-content-area').children('*').not('#error-view').remove()
|
||||
# Hack: editor components appear after calling insertSubView.
|
||||
# So we need to hide them first.
|
||||
$(@$el).find('.main-content-area').children('*').not('#error-view').remove()
|
||||
|
||||
@insertSubView(new ErrorView())
|
||||
@insertSubView(new ErrorView())
|
||||
)
|
||||
|
||||
thangRes = @supermodel.addModelResource(@thangType, 'thang_type')
|
||||
|
|
Loading…
Reference in a new issue