From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/zoho/webview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes/zoho') diff --git a/recipes/zoho/webview.js b/recipes/zoho/webview.js index 29ffa9c..60fd052 100644 --- a/recipes/zoho/webview.js +++ b/recipes/zoho/webview.js @@ -2,11 +2,11 @@ const path = require('path'); module.exports = (Franz, options) => { const getMessages = () => { - const unreadMailInCurrentFolder = $(".zmList.zmLUrd").length; - const unreadMailAnyware = $("#zmlTree .zmTreeNDWra .zmBold").length; + const unreadMailInCurrentFolder = $('.zmList.zmLUrd').length; + const unreadMailAnyware = $('#zmlTree .zmTreeNDWra .zmBold').length; Franz.setBadge(unreadMailInCurrentFolder, unreadMailAnyware); - } + }; Franz.loop(getMessages); }; -- cgit v1.2.3-70-g09d2