mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Fixed editor config change event schema.
This commit is contained in:
parent
e1abf115f7
commit
24a2373d54
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ module.exports = class EditorConfigModal extends ModalView
|
|||
@aceConfig.behaviors = @$el.find('#tome-behaviors').prop('checked')
|
||||
@aceConfig.liveCompletion = @$el.find('#tome-live-completion').prop('checked')
|
||||
me.set 'aceConfig', @aceConfig
|
||||
Backbone.Mediator.publish 'tome:change-config'
|
||||
Backbone.Mediator.publish 'tome:change-config', {}
|
||||
Backbone.Mediator.publish 'tome:change-language', language: newLanguage unless newLanguage is oldLanguage
|
||||
@session.save() unless newLanguage is oldLanguage
|
||||
me.patch()
|
||||
|
|
Loading…
Add table
Reference in a new issue