aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/anydo/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/anydo/webview.js')
-rw-r--r--recipes/anydo/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/anydo/webview.js b/recipes/anydo/webview.js
index e1ee479..8c4dd3a 100644
--- a/recipes/anydo/webview.js
+++ b/recipes/anydo/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 function getTasks() { 2 function getTasks() {
3 let incompleteCount = 0; 3 let incompleteCount = 0;
4 4
@@ -8,12 +8,12 @@ module.exports = Ferdi => {
8 8
9 if (countEls.length > 0) { 9 if (countEls.length > 0) {
10 for (const el of countEls) { 10 for (const el of countEls) {
11 incompleteCount += Ferdi.safeParseInt(el.textContent); 11 incompleteCount += Ferdium.safeParseInt(el.textContent);
12 } 12 }
13 } 13 }
14 14
15 Ferdi.setBadge(incompleteCount); 15 Ferdium.setBadge(incompleteCount);
16 } 16 }
17 17
18 Ferdi.loop(getTasks); 18 Ferdium.loop(getTasks);
19}; 19};