diff options
author | Vijay A <avijayr@protonmail.com> | 2021-07-31 15:28:23 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-07-31 15:28:23 +0530 |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/zalo | |
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/zalo')
-rw-r--r-- | recipes/zalo/index.js | 4 | ||||
-rw-r--r-- | recipes/zalo/webview.js | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/recipes/zalo/index.js b/recipes/zalo/index.js index e8243fb..258da41 100644 --- a/recipes/zalo/index.js +++ b/recipes/zalo/index.js | |||
@@ -1,3 +1 @@ | |||
1 | "use strict"; | module.exports = Franz => Franz; | |
2 | |||
3 | module.exports = Franz => Franz; \ No newline at end of file | ||
diff --git a/recipes/zalo/webview.js b/recipes/zalo/webview.js index 0f360c3..a89f0d3 100644 --- a/recipes/zalo/webview.js +++ b/recipes/zalo/webview.js | |||
@@ -1,8 +1,6 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => { | 1 | module.exports = Franz => { |
4 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
5 | var unread = 0 | 3 | const unread = 0; |
6 | const notificationBadge = document.getElementsByClassName('tab-red-dot').length; | 4 | const notificationBadge = document.getElementsByClassName('tab-red-dot').length; |
7 | Franz.setBadge(notificationBadge); | 5 | Franz.setBadge(notificationBadge); |
8 | }; | 6 | }; |