aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/anydo/webview.js
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 /recipes/anydo/webview.js
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)
Diffstat (limited to 'recipes/anydo/webview.js')
-rw-r--r--recipes/anydo/webview.js2
1 files changed, 1 insertions, 1 deletions
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) {