diff --git a/app/assets/javascripts/app/controllers/_profile/notification.coffee b/app/assets/javascripts/app/controllers/_profile/notification.coffee index 147e375cd..91b0d626c 100644 --- a/app/assets/javascripts/app/controllers/_profile/notification.coffee +++ b/app/assets/javascripts/app/controllers/_profile/notification.coffee @@ -84,8 +84,7 @@ class Index extends App.ControllerSubContent config['group_ids'].push group_id.toString() for sound in @sounds - if sound.file is App.OnlineNotification.soundFile() - sound.selected = true + sound.selected = sound.file is App.OnlineNotification.soundFile() ? true : false @html App.view('profile/notification') groups: groups