aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-calendar/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-06-28 04:47:07 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-06-28 04:47:07 +0530
commitd79d303d596669f4fe3323f1ce5608e4e341e93a (patch)
tree27955559c70b02c43c96b1bc2959ba3314838584 /recipes/nextcloud-calendar/webview.js
parentdocs: add pztrn as a contributor for code [skip ci] (#81) (diff)
downloadferdium-recipes-d79d303d596669f4fe3323f1ce5608e4e341e93a.tar.gz
ferdium-recipes-d79d303d596669f4fe3323f1ce5608e4e341e93a.tar.zst
ferdium-recipes-d79d303d596669f4fe3323f1ce5608e4e341e93a.zip
Fix syntax errors in nextcloud recipes
Diffstat (limited to 'recipes/nextcloud-calendar/webview.js')
-rw-r--r--recipes/nextcloud-calendar/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/nextcloud-calendar/webview.js b/recipes/nextcloud-calendar/webview.js
index 49ed705..80bfc45 100644
--- a/recipes/nextcloud-calendar/webview.js
+++ b/recipes/nextcloud-calendar/webview.js
@@ -9,7 +9,7 @@ module.exports = Ferdium => {
9 const directSelector = document.querySelectorAll( 9 const directSelector = document.querySelectorAll(
10 '.notifications .notification-wrapper .notification[object_type="dav"]', 10 '.notifications .notification-wrapper .notification[object_type="dav"]',
11 ); 11 );
12 const direct = directSelector ? Ferdium.safeParseInt(selector.length) : 0; 12 const direct = directSelector ? Ferdium.safeParseInt(directSelector.length) : 0;
13 13
14 Ferdium.setBadge(direct); 14 Ferdium.setBadge(direct);
15 }; 15 };