diff options
Diffstat (limited to 'recipes/github/webview.js')
-rw-r--r-- | recipes/github/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/github/webview.js b/recipes/github/webview.js index aaa1e5d..ab55792 100644 --- a/recipes/github/webview.js +++ b/recipes/github/webview.js | |||
@@ -12,7 +12,7 @@ module.exports = Ferdium => { | |||
12 | '[class*="mail-status unread"]', | 12 | '[class*="mail-status unread"]', |
13 | ); | 13 | ); |
14 | let indirectCount = 0; | 14 | let indirectCount = 0; |
15 | if (indirectCountElement) { | 15 | if (indirectCountElement && indirectCountElement.textContent.trim().length > 0) { |
16 | indirectCount = 1; | 16 | indirectCount = 1; |
17 | } | 17 | } |
18 | 18 | ||