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-talk/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-talk/webview.js')
-rw-r--r-- | recipes/nextcloud-talk/webview.js | 2 |
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 | ||