diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/infomaniak-mail/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/infomaniak-mail/webview.js')
-rw-r--r-- | recipes/infomaniak-mail/webview.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes/infomaniak-mail/webview.js b/recipes/infomaniak-mail/webview.js index 71a022b..235a14d 100644 --- a/recipes/infomaniak-mail/webview.js +++ b/recipes/infomaniak-mail/webview.js | |||
@@ -1,7 +1,7 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | function getMessages() { | 2 | function getMessages() { |
3 | const count = document.querySelector('.ws-tree-node-badge').innerText | 3 | const count = document.querySelector('.ws-tree-node-badge').innerText; |
4 | Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0) | 4 | Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0); |
5 | } | 5 | } |
6 | Ferdi.loop(getMessages) | 6 | Ferdi.loop(getMessages); |
7 | } \ No newline at end of file | 7 | }; |