From d0596d58710b43594090783fa7e0c54436641d22 Mon Sep 17 00:00:00 2001 From: Thomas Papamichail Date: Wed, 4 Nov 2020 15:33:49 +0200 Subject: Fix unread emails css selector --- recipes/zoho/webview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/zoho') 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'); module.exports = (Franz, options) => { const getMessages = () => { - const unreadMail = $(".zmList.zmLUrd").length; + const unreadMail = $("#zmlTree .zmTreeNDWra .zmBold").length; Franz.setBadge(unreadMail); } Franz.loop(getMessages); -}; \ No newline at end of file +}; -- cgit v1.2.3-54-g00ecf