aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ticktick/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ticktick/webview.js')
-rw-r--r--recipes/ticktick/webview.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/ticktick/webview.js b/recipes/ticktick/webview.js
index 98049e5..927bb08 100644
--- a/recipes/ticktick/webview.js
+++ b/recipes/ticktick/webview.js
@@ -1,9 +1,10 @@
1module.exports = (Franz) => { 1module.exports = (Ferdi) => {
2 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
3 // all overdue items are being counted 3 // all overdue items are being counted
4 const count = document.querySelectorAll('.duedate-overdue').length; 4 const count = document.querySelectorAll('.duedate-overdue').length;
5 5
6 Franz.setBadge(count); 6 Ferdi.setBadge(count);
7 }; 7 };
8 Franz.loop(getMessages); 8
9 Ferdi.loop(getMessages);
9}; 10};