diff options
author | Joas Schilling <coding@schilljs.com> | 2021-07-07 10:52:09 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-07-07 10:52:09 +0300 |
commit | bbfba239f7d628e097bde28ee1288dd065cbc1fe (patch) | |
tree | 9e4ffa8acd6391aff91f935347bb4d5836c3b890 /js | |
parent | e6a40cec090275abdc503bae5e274ba715fa1209 (diff) |
Fix "Enable notification emails"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/admin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/admin.js b/js/admin.js index 89341116..c73045f9 100644 --- a/js/admin.js +++ b/js/admin.js @@ -30,7 +30,7 @@ $(document).ready(function() { $('#activity_email_enabled').on('change', function() { OCP.AppConfig.setValue( 'activity', 'enable_email', - $(this).attr('checked') === 'checked' ? 'yes' : 'no' + $(this).prop('checked') === 'checked' ? 'yes' : 'no' ); }) }); |