aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/office365-owa/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/office365-owa/webview.js')
-rw-r--r--recipes/office365-owa/webview.js6
1 files changed, 2 insertions, 4 deletions
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 @@
1'use strict';
2
3module.exports = Ferdi => { 1module.exports = Ferdi => {
4 function getMessages() { 2 function getMessages() {
5 let unreadMail = 0; 3 let unreadMail = 0;
@@ -10,7 +8,7 @@ module.exports = Ferdi => {
10 jQuery("span[title*='Inbox'] + div > span") 8 jQuery("span[title*='Inbox'] + div > span")
11 .first() 9 .first()
12 .text(), 10 .text(),
13 10 11 10,
14 ); 12 );
15 } else { 13 } else {
16 // new app 14 // new app
@@ -29,6 +27,6 @@ module.exports = Ferdi => {
29 } 27 }
30 28
31 Ferdi.setBadge(unreadMail); 29 Ferdi.setBadge(unreadMail);
32 }; 30 }
33 Ferdi.loop(getMessages); 31 Ferdi.loop(getMessages);
34}; 32};