From f4435989a6052852a3f9326d931f63e18ff78758 Mon Sep 17 00:00:00 2001 From: Ravi Sharma Date: Sun, 18 Oct 2020 02:24:11 +0530 Subject: Update Todoist notifications badge selector (#333) (#334) --- recipes/todoist/package.json | 2 +- recipes/todoist/webview.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes') 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 @@ { "id": "todoist", "name": "Todoist", - "version": "1.1.0", + "version": "1.2.0", "description": "todoist plugin for Franz 5", "main": "index.js", "author": "Alex Ward , Mike Burke ", 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) => { function getTasks() { let todayCount = 0; let inboxCount = 0; - const todayElement = document.querySelector("#top_filters .counter.overdue_color"); - const inboxElement = document.querySelector("#filter_inbox .counter"); + const todayElement = document.querySelector("#filter_today .item_counter"); + const inboxElement = document.querySelector("#filter_inbox .item_counter"); if (todayElement) { todayCount = parseInt(todayElement.innerHTML, 10); -- cgit v1.2.3-54-g00ecf