aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/steamchat
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/steamchat')
-rw-r--r--recipes/steamchat/package.json2
-rw-r--r--recipes/steamchat/webview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/steamchat/package.json b/recipes/steamchat/package.json
index 5899cc8..4edbb82 100644
--- a/recipes/steamchat/package.json
+++ b/recipes/steamchat/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "steamchat", 2 "id": "steamchat",
3 "name": "SteamChat", 3 "name": "SteamChat",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://steamcommunity.com/chat", 7 "serviceURL": "https://steamcommunity.com/chat",
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