diff options
Diffstat (limited to 'recipes/ticktick')
-rw-r--r-- | recipes/ticktick/index.js | 2 | ||||
-rw-r--r-- | recipes/ticktick/webview.js | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/recipes/ticktick/index.js b/recipes/ticktick/index.js index 886d7f6..5c9f5a4 100644 --- a/recipes/ticktick/index.js +++ b/recipes/ticktick/index.js | |||
@@ -1,2 +1,2 @@ | |||
1 | // default integration (e.g messenger.com, ...) | 1 | // default integration (e.g messenger.com, ...) |
2 | module.exports = Franz => Franz; \ No newline at end of file | 2 | module.exports = Franz => Franz; |
diff --git a/recipes/ticktick/webview.js b/recipes/ticktick/webview.js index ba52883..98049e5 100644 --- a/recipes/ticktick/webview.js +++ b/recipes/ticktick/webview.js | |||
@@ -1,10 +1,9 @@ | |||
1 | module.exports = (Franz) => { | 1 | module.exports = (Franz) => { |
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 | Franz.setBadge(count); |
7 | |||
8 | }; | 7 | }; |
9 | Franz.loop(getMessages); | 8 | Franz.loop(getMessages); |
10 | }; | 9 | }; |