diff options
-rw-r--r-- | all.json | 2 | ||||
-rw-r--r-- | recipes/office365-owa/package.json | 2 | ||||
-rw-r--r-- | recipes/office365-owa/webview.js | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -1032,7 +1032,7 @@ | |||
1032 | "featured": false, | 1032 | "featured": false, |
1033 | "id": "office365-owa", | 1033 | "id": "office365-owa", |
1034 | "name": "Office 365 Outlook", | 1034 | "name": "Office 365 Outlook", |
1035 | "version": "1.4.4", | 1035 | "version": "1.4.5", |
1036 | "aliases": [ | 1036 | "aliases": [ |
1037 | "live.com" | 1037 | "live.com" |
1038 | ], | 1038 | ], |
diff --git a/recipes/office365-owa/package.json b/recipes/office365-owa/package.json index 3d13fef..bd3ca9c 100644 --- a/recipes/office365-owa/package.json +++ b/recipes/office365-owa/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "office365-owa", | 2 | "id": "office365-owa", |
3 | "name": "Office 365 Outlook", | 3 | "name": "Office 365 Outlook", |
4 | "version": "1.4.4", | 4 | "version": "1.4.5", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | 6 | "aliases": [ |
7 | "live.com" | 7 | "live.com" |
diff --git a/recipes/office365-owa/webview.js b/recipes/office365-owa/webview.js index 1a04132..82c7dfd 100644 --- a/recipes/office365-owa/webview.js +++ b/recipes/office365-owa/webview.js | |||
@@ -12,7 +12,7 @@ module.exports = Ferdi => { | |||
12 | if (foldersElement) { | 12 | if (foldersElement) { |
13 | const allScreenReaders = foldersElement.querySelectorAll('span.screenReaderOnly'); | 13 | const allScreenReaders = foldersElement.querySelectorAll('span.screenReaderOnly'); |
14 | for (const child of allScreenReaders) { | 14 | for (const child of allScreenReaders) { |
15 | if ((child.innerText === 'unread' || child.innerText === 'item') && child.previousSibling) { | 15 | if (child.previousSibling) { |
16 | directUnreadCount += Ferdi.safeParseInt(child.previousSibling.innerText); | 16 | directUnreadCount += Ferdi.safeParseInt(child.previousSibling.innerText); |
17 | } | 17 | } |
18 | } | 18 | } |
@@ -22,7 +22,7 @@ module.exports = Ferdi => { | |||
22 | if (groupsElement) { | 22 | if (groupsElement) { |
23 | const allScreenReaders = groupsElement.querySelectorAll('span.screenReaderOnly'); | 23 | const allScreenReaders = groupsElement.querySelectorAll('span.screenReaderOnly'); |
24 | for (const child of allScreenReaders) { | 24 | for (const child of allScreenReaders) { |
25 | if ((child.innerText === 'unread' || child.innerText === 'item') && child.previousSibling) { | 25 | if (child.previousSibling) { |
26 | indirectUnreadCount += Ferdi.safeParseInt(child.previousSibling.innerText); | 26 | indirectUnreadCount += Ferdi.safeParseInt(child.previousSibling.innerText); |
27 | } | 27 | } |
28 | } | 28 | } |