diff options
author | 2020-11-04 15:33:49 +0200 | |
---|---|---|
committer | 2020-11-04 15:33:49 +0200 | |
commit | d0596d58710b43594090783fa7e0c54436641d22 (patch) | |
tree | 5c8e45402bafef069460d457b77548399008343a /recipes/zoho/webview.js | |
parent | Fix unread emails css selector (diff) | |
download | ferdium-recipes-d0596d58710b43594090783fa7e0c54436641d22.tar.gz ferdium-recipes-d0596d58710b43594090783fa7e0c54436641d22.tar.zst ferdium-recipes-d0596d58710b43594090783fa7e0c54436641d22.zip |
Fix unread emails css selector
Diffstat (limited to 'recipes/zoho/webview.js')
-rw-r--r-- | recipes/zoho/webview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/zoho/webview.js b/recipes/zoho/webview.js index 4e8c900..2f6f58c 100644 --- a/recipes/zoho/webview.js +++ b/recipes/zoho/webview.js | |||
@@ -2,10 +2,10 @@ const path = require('path'); | |||
2 | 2 | ||
3 | module.exports = (Franz, options) => { | 3 | module.exports = (Franz, options) => { |
4 | const getMessages = () => { | 4 | const getMessages = () => { |
5 | const unreadMail = $(".zmList.zmLUrd").length; | 5 | const unreadMail = $("#zmlTree .zmTreeNDWra .zmBold").length; |
6 | 6 | ||
7 | Franz.setBadge(unreadMail); | 7 | Franz.setBadge(unreadMail); |
8 | } | 8 | } |
9 | 9 | ||
10 | Franz.loop(getMessages); | 10 | Franz.loop(getMessages); |
11 | }; \ No newline at end of file | 11 | }; |