Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/activity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-07-07 10:52:09 +0300
committerJoas Schilling <coding@schilljs.com>2021-07-07 10:52:09 +0300
commitbbfba239f7d628e097bde28ee1288dd065cbc1fe (patch)
tree9e4ffa8acd6391aff91f935347bb4d5836c3b890 /js
parente6a40cec090275abdc503bae5e274ba715fa1209 (diff)
Fix "Enable notification emails"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js')
-rw-r--r--js/admin.js2
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'
);
})
});