Skip to content

Commit

Permalink
Fix "Enable notification emails"
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Jul 7, 2021
1 parent 76d755a commit 1b5f0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $(document).ready(function() {
$('#activity_email_enabled').on('change', function() {
OCP.AppConfig.setValue(
'activity', 'enable_email',
$(this).attr('checked') === 'checked' ? 'yes' : 'no'
$(this).prop('checked') === 'checked' ? 'yes' : 'no'
);
})
});

0 comments on commit 1b5f0cf

Please sign in to comment.