diff options
Diffstat (limited to 'recipes/github')
-rw-r--r-- | recipes/github/index.js | 3 | ||||
-rw-r--r-- | recipes/github/webview.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/recipes/github/index.js b/recipes/github/index.js index a84e54a..84cb38d 100644 --- a/recipes/github/index.js +++ b/recipes/github/index.js | |||
@@ -1,2 +1 @@ | |||
1 | module.exports = Ferdi => class GitHub extends Ferdi { | module.exports = Ferdi => class GitHub extends Ferdi {}; | |
2 | }; | ||
diff --git a/recipes/github/webview.js b/recipes/github/webview.js index 47d4a13..d63a4c5 100644 --- a/recipes/github/webview.js +++ b/recipes/github/webview.js | |||
@@ -5,7 +5,7 @@ module.exports = Ferdi => { | |||
5 | ); | 5 | ); |
6 | let directCount = 0; | 6 | let directCount = 0; |
7 | if (directCountElement) { | 7 | if (directCountElement) { |
8 | directCount = Ferdi.safeParseInt(directCountElement.innerHTML); | 8 | directCount = Ferdi.safeParseInt(directCountElement.textContent); |
9 | } | 9 | } |
10 | 10 | ||
11 | const indirectCountElement = document.querySelector( | 11 | const indirectCountElement = document.querySelector( |