diff options
author | 2021-09-19 07:26:25 +0530 | |
---|---|---|
committer | 2021-09-19 09:11:55 +0530 | |
commit | 7517a409a1a502c747eb4598492a88cec4e8d58c (patch) | |
tree | 7b6b603b0831845ac07fe6ab8e4c52bf19c8e850 /recipes/tweetdeck/webview.js | |
parent | Merge pull request #713 from kris7t/fix-api-access (diff) | |
download | ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.gz ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.zst ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.zip |
fix: fix js error; styling
Diffstat (limited to 'recipes/tweetdeck/webview.js')
-rw-r--r-- | recipes/tweetdeck/webview.js | 2 |
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]) { |