diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/github/package.json | 2 | ||||
-rw-r--r-- | recipes/github/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/github/package.json b/recipes/github/package.json index d939907..18adf96 100644 --- a/recipes/github/package.json +++ b/recipes/github/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "github", | 2 | "id": "github", |
3 | "name": "GitHub", | 3 | "name": "GitHub", |
4 | "version": "2.5.0", | 4 | "version": "2.5.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://github.com/notifications", | 7 | "serviceURL": "https://github.com/notifications", |
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 | ||