diff options
author | Tom Chapman <912440+chappy84@users.noreply.github.com> | 2022-12-07 01:37:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 01:37:22 +0000 |
commit | 115bde40f704db2912597b17e0f90b6fff48b1f3 (patch) | |
tree | 9d232102a2fa9128a3832b3404620ec5c97573b1 /recipes/anydo/webview.js | |
parent | Get Element messages count from the spaces navbar (diff) | |
download | ferdium-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.js | 2 |
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) { |