From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/infomaniak-mail/webview.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/infomaniak-mail') 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 @@ module.exports = Ferdi => { - function getMessages() { - const count = document.querySelector('.ws-tree-node-badge').innerText - Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0) - } - Ferdi.loop(getMessages) -} \ No newline at end of file + function getMessages() { + const count = document.querySelector('.ws-tree-node-badge').innerText; + Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0); + } + Ferdi.loop(getMessages); +}; -- cgit v1.2.3-70-g09d2