From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/infomaniak-mail/package.json | 2 +- recipes/infomaniak-mail/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/infomaniak-mail') 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 @@ { "id": "infomaniak-mail", "name": "Infomaniak Mail", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "config": { "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 @@ module.exports = Ferdi => { - function getMessages() { + const getMessages = () => { const count = document.querySelector('.ws-tree-node-badge').innerText; Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0); } -- cgit v1.2.3-70-g09d2