diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/zoho/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/zoho/webview.js')
-rw-r--r-- | recipes/zoho/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
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'); | |||
2 | 2 | ||
3 | module.exports = (Franz, options) => { | 3 | module.exports = (Franz, options) => { |
4 | const getMessages = () => { | 4 | const getMessages = () => { |
5 | const unreadMailInCurrentFolder = $(".zmList.zmLUrd").length; | 5 | const unreadMailInCurrentFolder = $('.zmList.zmLUrd').length; |
6 | const unreadMailAnyware = $("#zmlTree .zmTreeNDWra .zmBold").length; | 6 | const unreadMailAnyware = $('#zmlTree .zmTreeNDWra .zmBold').length; |
7 | 7 | ||
8 | Franz.setBadge(unreadMailInCurrentFolder, unreadMailAnyware); | 8 | Franz.setBadge(unreadMailInCurrentFolder, unreadMailAnyware); |
9 | } | 9 | }; |
10 | 10 | ||
11 | Franz.loop(getMessages); | 11 | Franz.loop(getMessages); |
12 | }; | 12 | }; |