From 6978d6b14b41481f6207fbe7867fed92d8f7dbac Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Fri, 8 Sep 2023 19:22:13 +0300 Subject: [PATCH] fix for 42e265d --- src/content/mytinytodo.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/content/mytinytodo.js b/src/content/mytinytodo.js index c3b67ad..acaf1f5 100644 --- a/src/content/mytinytodo.js +++ b/src/content/mytinytodo.js @@ -2728,10 +2728,7 @@ function newTaskCounter() if (Array.isArray(json.tasks)) { let curCounter = 0; json.tasks.forEach((id) => { - if (taskList[id]) { - console.log('skip existing id ', id); - } - else { + if (!taskList[id]) { curCounter++; } });