diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-06-28 04:47:07 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-06-28 04:47:07 +0530 |
commit | d79d303d596669f4fe3323f1ce5608e4e341e93a (patch) | |
tree | 27955559c70b02c43c96b1bc2959ba3314838584 /recipes/nextcloud-calendar/webview.js | |
parent | docs: add pztrn as a contributor for code [skip ci] (#81) (diff) | |
download | ferdium-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.js | 2 |
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 | }; |