diff options
Diffstat (limited to 'recipes/todoist')
-rw-r--r-- | recipes/todoist/package.json | 2 | ||||
-rw-r--r-- | recipes/todoist/webview.js | 4 |
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); |