diff options
Diffstat (limited to 'recipes/yahoo-mail/webview.js')
-rw-r--r-- | recipes/yahoo-mail/webview.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes/yahoo-mail/webview.js b/recipes/yahoo-mail/webview.js index 1027838..fd5add1 100644 --- a/recipes/yahoo-mail/webview.js +++ b/recipes/yahoo-mail/webview.js | |||
@@ -1,8 +1,6 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = (Franz) => { | 1 | module.exports = (Franz) => { |
4 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
5 | let 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'); |
6 | Franz.setBadge(count); | 4 | Franz.setBadge(count); |
7 | }; | 5 | }; |
8 | 6 | ||