Skip to content

Commit 2f8d459

Browse files
nickvergessenbackportbot[bot]
authored andcommitted
Fix "Enable notification emails"
Signed-off-by: Joas Schilling <[email protected]>
1 parent db97d91 commit 2f8d459

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

0 commit comments

Comments
 (0)