aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/enterprise-owa
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/enterprise-owa
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/enterprise-owa')
-rw-r--r--recipes/enterprise-owa/index.js2
-rw-r--r--recipes/enterprise-owa/webview.js6
2 files changed, 3 insertions, 5 deletions
diff --git a/recipes/enterprise-owa/index.js b/recipes/enterprise-owa/index.js
index 9157a2e..258da41 100644
--- a/recipes/enterprise-owa/index.js
+++ b/recipes/enterprise-owa/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; \ No newline at end of file module.exports = Franz => Franz;
diff --git a/recipes/enterprise-owa/webview.js b/recipes/enterprise-owa/webview.js
index e144c46..1fa1a12 100644
--- a/recipes/enterprise-owa/webview.js
+++ b/recipes/enterprise-owa/webview.js
@@ -1,16 +1,14 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let unreadMail = 0; 3 let unreadMail = 0;
6 4
7 if (location.pathname.match(/\/owa/)) { 5 if (location.pathname.match(/\/owa/)) {
8 // classic app 6 // classic app
9 unreadMail = parseInt( 7 unreadMail = parseInt(
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