diff options
author | 2021-09-12 22:01:51 +0530 | |
---|---|---|
committer | 2021-09-12 22:06:03 +0530 | |
commit | 9db43e100a672b6d6932ac68c0fbe503c129138b (patch) | |
tree | 4f6a31d25a7345c5d92dbd8b80d30ce7d129944f /recipes/ticktick/webview.js | |
parent | New recipe: 'stackoverflow' (#707) (diff) | |
download | ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.tar.gz ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.tar.zst ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.zip |
Added a check to verify that the folder name of the recipe matches the recipe id (#708)
Use the recipe-id as master to rename internal folder names
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 | }; | ||