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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js
index 54b7997..9bdc2be 100644
--- a/recipes/tweetdeck/webview.js
+++ b/recipes/tweetdeck/webview.js
@@ -4,7 +4,7 @@ module.exports = Ferdi => {
4 window.location.assign(url); 4 window.location.assign(url);
5 }); 5 });
6 6
7 const getMessages = function getMessages() { 7 const 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;
10 if (elements[0]) { 10 if (elements[0]) {