aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tom Chapman <912440+chappy84@users.noreply.github.com>2022-12-07 01:37:22 +0000
committerLibravatar GitHub <noreply@github.com>2022-12-07 01:37:22 +0000
commit115bde40f704db2912597b17e0f90b6fff48b1f3 (patch)
tree9d232102a2fa9128a3832b3404620ec5c97573b1
parentGet Element messages count from the spaces navbar (diff)
downloadferdium-recipes-115bde40f704db2912597b17e0f90b6fff48b1f3.tar.gz
ferdium-recipes-115bde40f704db2912597b17e0f90b6fff48b1f3.tar.zst
ferdium-recipes-115bde40f704db2912597b17e0f90b6fff48b1f3.zip
Fix badge numbers for Any.do (#255)
-rw-r--r--recipes/anydo/package.json2
-rw-r--r--recipes/anydo/webview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/anydo/package.json b/recipes/anydo/package.json
index 0687290..51a5646 100644
--- a/recipes/anydo/package.json
+++ b/recipes/anydo/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "anydo", 2 "id": "anydo",
3 "name": "Any.do", 3 "name": "Any.do",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/chappy84/recipe-anydo", 6 "repository": "https://github.com/chappy84/recipe-anydo",
7 "config": { 7 "config": {
diff --git a/recipes/anydo/webview.js b/recipes/anydo/webview.js
index 8c4dd3a..8d0f2ca 100644
--- a/recipes/anydo/webview.js
+++ b/recipes/anydo/webview.js
@@ -3,7 +3,7 @@ module.exports = Ferdium => {
3 let incompleteCount = 0; 3 let incompleteCount = 0;
4 4
5 const countEls = document.querySelectorAll( 5 const countEls = document.querySelectorAll(
6 '.AppSidebarListsItems__itemContainer__sizeContainer:not([hidden]) > .AppSidebarListsItems__itemContainer__size', 6 '.AppSidebarGroupsItems__item__link[href^="/tasks/lists/"] .AppSidebarGroupsItems__item__badge > .AppSidebarGroupsItems__item__badge__count > div',
7 ); 7 );
8 8
9 if (countEls.length > 0) { 9 if (countEls.length > 0) {