aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tweetdeck/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tweetdeck/webview.js')
-rw-r--r--recipes/tweetdeck/webview.js10
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
2Ferdi.ipcRenderer.on('redirect-url', (event, url) => {
3 window.location.assign(url);
4});
5
6module.exports = Ferdi => { 1module.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;