diff options
Diffstat (limited to 'recipes/gmail/webview.js')
-rw-r--r-- | recipes/gmail/webview.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js index 6db2eec..bfa2e06 100644 --- a/recipes/gmail/webview.js +++ b/recipes/gmail/webview.js | |||
@@ -18,7 +18,9 @@ module.exports = Ferdium => { | |||
18 | let countImportant = 0; | 18 | let countImportant = 0; |
19 | let countNonImportant = 0; | 19 | let countNonImportant = 0; |
20 | const inboxLinks = document.querySelectorAll('.J-Ke.n0'); | 20 | const inboxLinks = document.querySelectorAll('.J-Ke.n0'); |
21 | const spaceAndChatBadges = document.querySelectorAll('span.XU.aH6'); | 21 | const spaceAndChatBadges = document.querySelectorAll( |
22 | 'div.Xa.bSyoAf span.XU', | ||
23 | ); | ||
22 | 24 | ||
23 | if (inboxLinks.length > 0) { | 25 | if (inboxLinks.length > 0) { |
24 | const { parentNode } = inboxLinks[0]; | 26 | const { parentNode } = inboxLinks[0]; |