diff options
author | 2022-06-28 04:47:07 +0530 | |
---|---|---|
committer | 2022-06-28 04:47:07 +0530 | |
commit | d79d303d596669f4fe3323f1ce5608e4e341e93a (patch) | |
tree | 27955559c70b02c43c96b1bc2959ba3314838584 /recipes/nextcloud-talk | |
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')
-rw-r--r-- | recipes/nextcloud-talk/package.json | 2 | ||||
-rw-r--r-- | recipes/nextcloud-talk/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/nextcloud-talk/package.json b/recipes/nextcloud-talk/package.json index 8ce25ac..e86bb8e 100644 --- a/recipes/nextcloud-talk/package.json +++ b/recipes/nextcloud-talk/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "nextcloud-talk", | 2 | "id": "nextcloud-talk", |
3 | "name": "Nextcloud Talk", | 3 | "name": "Nextcloud Talk", |
4 | "version": "1.3.2", | 4 | "version": "1.3.3", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/csolisr/ferdium-recipes/tree/master/recipes/nextcloud-tasks/", | 6 | "repository": "https://github.com/csolisr/ferdium-recipes/tree/master/recipes/nextcloud-tasks/", |
7 | "config": { | 7 | "config": { |
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 | ||