aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ticktick
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/ticktick
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-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')
-rw-r--r--recipes/ticktick/index.js2
-rw-r--r--recipes/ticktick/webview.js3
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, ...)
2module.exports = Franz => Franz; \ No newline at end of file 2module.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 @@
1module.exports = (Franz) => { 1module.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};