Skip to content

Commit f6bc5fe

Browse files
authored
Merge pull request #657 from nextcloud/bugfix/609/fix-reenabling-email-option
Fix reenabling the email option
2 parents 622b8e0 + dd03226 commit f6bc5fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $(document).ready(function() {
3030
$('#activity_email_enabled').on('change', function() {
3131
OCP.AppConfig.setValue(
3232
'activity', 'enable_email',
33-
$(this).prop('checked') === 'checked' ? 'yes' : 'no'
33+
$(this).prop('checked') ? 'yes' : 'no'
3434
);
3535
})
3636
});

0 commit comments

Comments
 (0)