aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/yahoo-mail/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/yahoo-mail/webview.js')
-rw-r--r--recipes/yahoo-mail/webview.js2
1 files changed, 1 insertions, 1 deletions
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 @@
1module.exports = (Ferdium) => { 1module.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