diff options
author | Vijay A <avijayr@protonmail.com> | 2021-07-31 15:28:23 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-07-31 15:28:23 +0530 |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/ticktick/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
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 | }; |