Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix "Enable notification emails"
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Jul 7, 2021
commit 1b5f0cf2365419e2862b65fa10e2372e0aba08dc
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'
);
})
});