diff options
author | Edgars <eandersons@users.noreply.github.com> | 2023-12-17 06:33:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 21:33:17 -0700 |
commit | 5fa730f826b27f69479382e1d5d9a1f0ae568144 (patch) | |
tree | 9d7d215effaa5ee272dc2e6c6d70e26615f82942 /recipes/github/webview.js | |
parent | Adds Spaces and Chat badges to countImportant (#479) (diff) | |
download | ferdium-recipes-5fa730f826b27f69479382e1d5d9a1f0ae568144.tar.gz ferdium-recipes-5fa730f826b27f69479382e1d5d9a1f0ae568144.tar.zst ferdium-recipes-5fa730f826b27f69479382e1d5d9a1f0ae568144.zip |
Add a new selector for indirect GitHub notification badge (#480)
Diffstat (limited to 'recipes/github/webview.js')
-rw-r--r-- | recipes/github/webview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/github/webview.js b/recipes/github/webview.js index c3f653f..78086c2 100644 --- a/recipes/github/webview.js +++ b/recipes/github/webview.js | |||
@@ -15,7 +15,8 @@ module.exports = Ferdium => { | |||
15 | ?.textContent, | 15 | ?.textContent, |
16 | ) + Ferdium.safeParseInt(newCountMatch ? newCountMatch[0] : 0), | 16 | ) + Ferdium.safeParseInt(newCountMatch ? newCountMatch[0] : 0), |
17 | document.querySelectorAll( | 17 | document.querySelectorAll( |
18 | '#AppHeader-notifications-button.AppHeader-button--hasIndicator', | 18 | '#AppHeader-notifications-button.AppHeader-button--hasIndicator, ' + |
19 | '[data-target="notification-indicator.badge"]:not([hidden])', | ||
19 | ).length, | 20 | ).length, |
20 | ); | 21 | ); |
21 | }; | 22 | }; |