aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-talk/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-talk/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-talk/webview.js')
-rw-r--r--recipes/nextcloud-talk/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/nextcloud-talk/webview.js b/recipes/nextcloud-talk/webview.js
index 77b969b..1c6d2a5 100644
--- a/recipes/nextcloud-talk/webview.js
+++ b/recipes/nextcloud-talk/webview.js
@@ -20,7 +20,7 @@ module.exports = Ferdium => {
20 let indirect = 0; 20 let indirect = 0;
21 21
22 for (const counter of document.querySelectorAll('.app-navigation-entry__counter')) { 22 for (const counter of document.querySelectorAll('.app-navigation-entry__counter')) {
23 const entryCounter = Ferdium.safeParseInt(counter.textContent) : 0; 23 const entryCounter = counter ? Ferdium.safeParseInt(counter.textContent) : 0;
24 indirect += entryCounter; 24 indirect += entryCounter;
25 } 25 }
26 26