diff options
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 | }; |