diff options
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 | ||