mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Issue #2387: Accounts setting toggle all fix
This commit is contained in:
parent
c43ddda235
commit
0df2dea469
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ module.exports = class AccountSettingsView extends CocoView
|
|||
toggleEmailSubscriptions: =>
|
||||
subs = @getSubscriptions()
|
||||
$('#email-panel input[type="checkbox"]', @$el).prop('checked', not _.any(_.values(subs))).addClass('changed')
|
||||
@trigger 'input-changed'
|
||||
|
||||
checkNameExists: =>
|
||||
name = $('#name', @$el).val()
|
||||
|
|
Loading…
Reference in a new issue