diff options
Diffstat (limited to 'recipes/steamchat/webview.js')
-rw-r--r-- | recipes/steamchat/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/steamchat/webview.js b/recipes/steamchat/webview.js index b35cc6b..93e68ba 100644 --- a/recipes/steamchat/webview.js +++ b/recipes/steamchat/webview.js | |||
@@ -7,7 +7,7 @@ module.exports = Ferdi => { | |||
7 | const counters = document.querySelectorAll('[class*=FriendMessageCount]'); | 7 | const counters = document.querySelectorAll('[class*=FriendMessageCount]'); |
8 | [].filter.call(counters, countValue => { | 8 | [].filter.call(counters, countValue => { |
9 | if (countValue) { | 9 | if (countValue) { |
10 | count += parseInt(countValue.innerHTML); | 10 | count += Ferdi.safeParseInt(countValue.innerHTML); |
11 | } | 11 | } |
12 | }); | 12 | }); |
13 | 13 | ||