diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/yahoo-mail/package.json | 2 | ||||
-rw-r--r-- | recipes/yahoo-mail/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/yahoo-mail/package.json b/recipes/yahoo-mail/package.json index 9f5663c..a90df33 100644 --- a/recipes/yahoo-mail/package.json +++ b/recipes/yahoo-mail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "yahoo-mail", | 2 | "id": "yahoo-mail", |
3 | "name": "Yahoo Mail", | 3 | "name": "Yahoo Mail", |
4 | "version": "1.2.1", | 4 | "version": "1.2.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.yahoo.com", | 7 | "serviceURL": "https://mail.yahoo.com", |
diff --git a/recipes/yahoo-mail/webview.js b/recipes/yahoo-mail/webview.js index d9f919c..9ab9b6b 100644 --- a/recipes/yahoo-mail/webview.js +++ b/recipes/yahoo-mail/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | module.exports = (Ferdium) => { | 1 | module.exports = (Ferdium) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const count = document.querySelector('a[data-test-folder-name="Inbox"]').getAttribute('data-test-unread-count'); | 3 | const count = document.querySelector('a[data-test-folder-name="Inbox"] span[data-test-id="displayed-count"]').textContent; |
4 | Ferdium.setBadge(count); | 4 | Ferdium.setBadge(count); |
5 | }; | 5 | }; |
6 | 6 | ||