diff options
author | 2021-09-19 07:26:25 +0530 | |
---|---|---|
committer | 2021-09-19 09:11:55 +0530 | |
commit | 7517a409a1a502c747eb4598492a88cec4e8d58c (patch) | |
tree | 7b6b603b0831845ac07fe6ab8e4c52bf19c8e850 /recipes/devRant/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/devRant/webview.js')
-rw-r--r-- | recipes/devRant/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/devRant/webview.js b/recipes/devRant/webview.js index 62a47e6..6a30b3a 100644 --- a/recipes/devRant/webview.js +++ b/recipes/devRant/webview.js | |||
@@ -10,7 +10,7 @@ setTimeout(() => { | |||
10 | }, 1000); | 10 | }, 1000); |
11 | 11 | ||
12 | module.exports = (Ferdi) => { | 12 | module.exports = (Ferdi) => { |
13 | const getMessages = function getMessages() { | 13 | const getMessages = () => { |
14 | const elements = document.querySelectorAll('.CxUIE, .unread, ._0LqQ'); | 14 | const elements = document.querySelectorAll('.CxUIE, .unread, ._0LqQ'); |
15 | let count = 0; | 15 | let count = 0; |
16 | for (let i = 0; i < elements.length; i += 1) { | 16 | for (let i = 0; i < elements.length; i += 1) { |