diff options
Diffstat (limited to 'recipes/infomaniak-mail')
-rw-r--r-- | recipes/infomaniak-mail/package.json | 2 | ||||
-rw-r--r-- | recipes/infomaniak-mail/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/infomaniak-mail/package.json b/recipes/infomaniak-mail/package.json index b991467..7f1d1c0 100644 --- a/recipes/infomaniak-mail/package.json +++ b/recipes/infomaniak-mail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "infomaniak-mail", | 2 | "id": "infomaniak-mail", |
3 | "name": "Infomaniak Mail", | 3 | "name": "Infomaniak Mail", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.infomaniak.com/" | 7 | "serviceURL": "https://mail.infomaniak.com/" |
diff --git a/recipes/infomaniak-mail/webview.js b/recipes/infomaniak-mail/webview.js index 0022949..04ac42d 100644 --- a/recipes/infomaniak-mail/webview.js +++ b/recipes/infomaniak-mail/webview.js | |||
@@ -1,5 +1,5 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | function getMessages() { | 2 | const 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 | } |