aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/monday/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/monday/webview.js')
-rwxr-xr-xrecipes/monday/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/monday/webview.js b/recipes/monday/webview.js
index bdd73ca..924c071 100755
--- a/recipes/monday/webview.js
+++ b/recipes/monday/webview.js
@@ -9,7 +9,7 @@ module.exports = Ferdi => {
9 const counters = document.querySelectorAll('.surface-control-component .item-counter, .surface-control-component .view-item-counter'); 9 const counters = document.querySelectorAll('.surface-control-component .item-counter, .surface-control-component .view-item-counter');
10 10
11 for (let i = 0; i < counters.length; i++) { 11 for (let i = 0; i < counters.length; i++) {
12 count += parseInt(counters[i].textContent); 12 count += Ferdi.safeParseInt(counters[i].textContent);
13 } 13 }
14 14
15 Ferdi.setBadge(count); 15 Ferdi.setBadge(count);