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/office365-owa/webview.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'recipes/office365-owa/webview.js') diff --git a/recipes/office365-owa/webview.js b/recipes/office365-owa/webview.js index 6d4edf2..cb63219 100644 --- a/recipes/office365-owa/webview.js +++ b/recipes/office365-owa/webview.js @@ -1,5 +1,3 @@ -'use strict'; - module.exports = Ferdi => { function getMessages() { let unreadMail = 0; @@ -10,7 +8,7 @@ module.exports = Ferdi => { jQuery("span[title*='Inbox'] + div > span") .first() .text(), - 10 + 10, ); } else { // new app @@ -29,6 +27,6 @@ module.exports = Ferdi => { } Ferdi.setBadge(unreadMail); - }; + } Ferdi.loop(getMessages); }; -- cgit v1.2.3-70-g09d2