diff options
Diffstat (limited to 'recipes/office365-owa/webview.js')
-rw-r--r-- | recipes/office365-owa/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/office365-owa/webview.js b/recipes/office365-owa/webview.js index 0a0d2f3..8deff39 100644 --- a/recipes/office365-owa/webview.js +++ b/recipes/office365-owa/webview.js | |||
@@ -37,7 +37,7 @@ module.exports = (Ferdium, settings) => { | |||
37 | directUnreadCount = | 37 | directUnreadCount = |
38 | settings.onlyShowFavoritesInUnreadCount === true | 38 | settings.onlyShowFavoritesInUnreadCount === true |
39 | ? collectCounts('div[role=tree]:nth-child(2)') | 39 | ? collectCounts('div[role=tree]:nth-child(2)') |
40 | : collectCounts('div[role=tree]:nth-child(3)'); | 40 | : collectCounts('div[role=tree]:nth-child(1)'); |
41 | 41 | ||
42 | indirectUnreadCount = collectCounts('div[role=tree]:nth-child(4)'); // groups | 42 | indirectUnreadCount = collectCounts('div[role=tree]:nth-child(4)'); // groups |
43 | } | 43 | } |