Skip to content

Commit

Permalink
Merge pull request #612 from nextcloud/backport/609/stable21
Browse files Browse the repository at this point in the history
[stable21] Fix "Enable notification emails"
  • Loading branch information
nickvergessen authored Jul 7, 2021
2 parents 76d755a + 1b5f0cf commit 297e8d1
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 297e8d1

Please sign in to comment.