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 fc47f26..17ea298 100644
--- a/recipes/yahoo-mail/webview.js
+++ b/recipes/yahoo-mail/webview.js
@@ -1,5 +1,5 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
2 const getMessages = function 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"]').getAttribute('data-test-unread-count');
4 Ferdi.setBadge(count); 4 Ferdi.setBadge(count);
5 }; 5 };