diff options
Diffstat (limited to 'recipes/ticktick/webview.js')
-rw-r--r-- | recipes/ticktick/webview.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/recipes/ticktick/webview.js b/recipes/ticktick/webview.js deleted file mode 100644 index 927bb08..0000000 --- a/recipes/ticktick/webview.js +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | module.exports = (Ferdi) => { | ||
2 | const getMessages = function getMessages() { | ||
3 | // all overdue items are being counted | ||
4 | const count = document.querySelectorAll('.duedate-overdue').length; | ||
5 | |||
6 | Ferdi.setBadge(count); | ||
7 | }; | ||
8 | |||
9 | Ferdi.loop(getMessages); | ||
10 | }; | ||