diff options
Diffstat (limited to 'recipes/steamchat')
-rw-r--r-- | recipes/steamchat/package.json | 2 | ||||
-rw-r--r-- | recipes/steamchat/webview.js | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/recipes/steamchat/package.json b/recipes/steamchat/package.json index 4edbb82..12da5b9 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.1", | 4 | "version": "1.3.0", |
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 93e68ba..63f002f 100644 --- a/recipes/steamchat/webview.js +++ b/recipes/steamchat/webview.js | |||
@@ -1,5 +1,3 @@ | |||
1 | const { ipcRenderer } = require('electron'); | ||
2 | |||
3 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
4 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
5 | // get new msg count | 3 | // get new msg count |
@@ -34,7 +32,7 @@ module.exports = Ferdi => { | |||
34 | const url = link.getAttribute('href'); | 32 | const url = link.getAttribute('href'); |
35 | event.preventDefault(); | 33 | event.preventDefault(); |
36 | event.stopPropagation(); | 34 | event.stopPropagation(); |
37 | ipcRenderer.sendToHost('new-window', url); | 35 | Ferdi.ipcRenderer.sendToHost('new-window', url); |
38 | } | 36 | } |
39 | }, true); | 37 | }, true); |
40 | }; | 38 | }; |