diff options
author | 2020-10-18 02:24:11 +0530 | |
---|---|---|
committer | 2020-10-17 21:54:11 +0100 | |
commit | f4435989a6052852a3f9326d931f63e18ff78758 (patch) | |
tree | 3024acf6b00e473463cc7446e6cc5a5276f15b17 /recipes/todoist/webview.js | |
parent | Add Google Podcasts and YouTube Music recipes (#330) (diff) | |
download | ferdium-recipes-f4435989a6052852a3f9326d931f63e18ff78758.tar.gz ferdium-recipes-f4435989a6052852a3f9326d931f63e18ff78758.tar.zst ferdium-recipes-f4435989a6052852a3f9326d931f63e18ff78758.zip |
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); |