diff options
Diffstat (limited to 'recipes/ticktick/webview.js')
-rw-r--r-- | recipes/ticktick/webview.js | 3 |
1 files changed, 1 insertions, 2 deletions
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 | }; |