diff options
Diffstat (limited to 'recipes/todoist/webview.js')
-rw-r--r-- | recipes/todoist/webview.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |