We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 622b8e0 + dd03226 commit f6bc5feCopy full SHA for f6bc5fe
js/admin.js
@@ -30,7 +30,7 @@ $(document).ready(function() {
30
$('#activity_email_enabled').on('change', function() {
31
OCP.AppConfig.setValue(
32
'activity', 'enable_email',
33
- $(this).prop('checked') === 'checked' ? 'yes' : 'no'
+ $(this).prop('checked') ? 'yes' : 'no'
34
);
35
})
36
});
0 commit comments