diff options
Diffstat (limited to 'recipes/tweetdeck/webview.js')
-rw-r--r-- | recipes/tweetdeck/webview.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js index b60415d..54b7997 100644 --- a/recipes/tweetdeck/webview.js +++ b/recipes/tweetdeck/webview.js | |||
@@ -1,9 +1,9 @@ | |||
1 | // Tweetdeck redirect fix | ||
2 | Ferdi.ipcRenderer.on('redirect-url', (event, url) => { | ||
3 | window.location.assign(url); | ||
4 | }); | ||
5 | |||
6 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | // Tweetdeck redirect fix | ||
3 | Ferdi.ipcRenderer.on('redirect-url', (event, url) => { | ||
4 | window.location.assign(url); | ||
5 | }); | ||
6 | |||
7 | const getMessages = function getMessages() { | 7 | const getMessages = function getMessages() { |
8 | const elements = document.querySelectorAll('.msg-unread-count'); | 8 | const elements = document.querySelectorAll('.msg-unread-count'); |
9 | let count = 0; | 9 | let count = 0; |