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 reenabling the email option
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Nov 19, 2021
commit 5f0d4c7de747a0fdfc4a395f715f012fd4645823
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).prop('checked') === 'checked' ? 'yes' : 'no'
$(this).prop('checked') ? 'yes' : 'no'
);
})
});