diff options
Diffstat (limited to 'recipes/gmail')
-rw-r--r-- | recipes/gmail/package.json | 2 | ||||
-rw-r--r-- | recipes/gmail/webview.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/recipes/gmail/package.json b/recipes/gmail/package.json index adaa88f..f0ed457 100644 --- a/recipes/gmail/package.json +++ b/recipes/gmail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "gmail", | 2 | "id": "gmail", |
3 | "name": "Gmail", | 3 | "name": "Gmail", |
4 | "version": "1.6.1", | 4 | "version": "1.6.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.google.com" | 7 | "serviceURL": "https://mail.google.com" |
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]; |