aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/todoist
diff options
context:
space:
mode:
authorLibravatar Ravi Sharma <rvisharma91@gmail.com>2020-10-18 02:24:11 +0530
committerLibravatar GitHub <noreply@github.com>2020-10-17 21:54:11 +0100
commitf4435989a6052852a3f9326d931f63e18ff78758 (patch)
tree3024acf6b00e473463cc7446e6cc5a5276f15b17 /recipes/todoist
parentAdd Google Podcasts and YouTube Music recipes (#330) (diff)
downloadferdium-recipes-f4435989a6052852a3f9326d931f63e18ff78758.tar.gz
ferdium-recipes-f4435989a6052852a3f9326d931f63e18ff78758.tar.zst
ferdium-recipes-f4435989a6052852a3f9326d931f63e18ff78758.zip
Update Todoist notifications badge selector (#333) (#334)
Diffstat (limited to 'recipes/todoist')
-rw-r--r--recipes/todoist/package.json2
-rw-r--r--recipes/todoist/webview.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/todoist/package.json b/recipes/todoist/package.json
index 4cf557a..ce9976f 100644
--- a/recipes/todoist/package.json
+++ b/recipes/todoist/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "todoist", 2 "id": "todoist",
3 "name": "Todoist", 3 "name": "Todoist",
4 "version": "1.1.0", 4 "version": "1.2.0",
5 "description": "todoist plugin for Franz 5", 5 "description": "todoist plugin for Franz 5",
6 "main": "index.js", 6 "main": "index.js",
7 "author": "Alex Ward <alex@alexward.me.uk>, Mike Burke <mburke@dmwtechnology.com>", 7 "author": "Alex Ward <alex@alexward.me.uk>, Mike Burke <mburke@dmwtechnology.com>",
diff --git a/recipes/todoist/webview.js b/recipes/todoist/webview.js
index 3263348..ce73ceb 100644
--- a/recipes/todoist/webview.js
+++ b/recipes/todoist/webview.js
@@ -4,8 +4,8 @@ module.exports = (Franz, options) => {
4 function getTasks() { 4 function getTasks() {
5 let todayCount = 0; 5 let todayCount = 0;
6 let inboxCount = 0; 6 let inboxCount = 0;
7 const todayElement = document.querySelector("#top_filters .counter.overdue_color"); 7 const todayElement = document.querySelector("#filter_today .item_counter");
8 const inboxElement = document.querySelector("#filter_inbox .counter"); 8 const inboxElement = document.querySelector("#filter_inbox .item_counter");
9 9
10 if (todayElement) { 10 if (todayElement) {
11 todayCount = parseInt(todayElement.innerHTML, 10); 11 todayCount = parseInt(todayElement.innerHTML, 10);