aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/anydo/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-31 16:25:57 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-31 16:25:57 +0530
commitdfae2d231e39c81827d08fd8834d736c5b3005b1 (patch)
tree5037b401e7de837fdd6046a3c61ac76aed240e6e /recipes/anydo/webview.js
parentNew recipe: odoo (diff)
downloadferdium-recipes-dfae2d231e39c81827d08fd8834d736c5b3005b1.tar.gz
ferdium-recipes-dfae2d231e39c81827d08fd8834d736c5b3005b1.tar.zst
ferdium-recipes-dfae2d231e39c81827d08fd8834d736c5b3005b1.zip
refactor: Use Ferdi.safeParseInt to ensure that parsing is done consistently in all recipes.
Diffstat (limited to 'recipes/anydo/webview.js')
-rw-r--r--recipes/anydo/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/anydo/webview.js b/recipes/anydo/webview.js
index cdb7e4f..4f4749b 100644
--- a/recipes/anydo/webview.js
+++ b/recipes/anydo/webview.js
@@ -6,7 +6,7 @@ module.exports = (Ferdi) => {
6 6
7 if (countEls.length) { 7 if (countEls.length) {
8 Array.from(countEls).forEach((el) => { 8 Array.from(countEls).forEach((el) => {
9 incompleteCount += parseInt(el.innerHTML, 10); 9 incompleteCount += Ferdi.safeParseInt(el.innerHTML);
10 }); 10 });
11 } 11 }
12 12