Skip to content

Commit bbfba23

Browse files
committed
Fix "Enable notification emails"
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent e6a40ce commit bbfba23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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).attr('checked') === 'checked' ? 'yes' : 'no'
33+
$(this).prop('checked') === 'checked' ? 'yes' : 'no'
3434
);
3535
})
3636
});

0 commit comments

Comments
 (0)