mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Turned off saving automatically when you toggle subscriptions in the AccountSettingsView, as it was triggering the PlayAccountModal to save and close.
This commit is contained in:
parent
0f29e098cc
commit
464f06c031
2 changed files with 10 additions and 11 deletions
|
@ -43,7 +43,6 @@ module.exports = class AccountSettingsView extends CocoView
|
|||
toggleEmailSubscriptions: =>
|
||||
subs = @getSubscriptions()
|
||||
$('#email-panel input[type="checkbox"]', @$el).prop('checked', not _.any(_.values(subs))).addClass('changed')
|
||||
@save()
|
||||
|
||||
checkNameExists: =>
|
||||
name = $('#name', @$el).val()
|
||||
|
|
Loading…
Reference in a new issue