diff options
author | Citeopeht Eripmav <93918529+CiteopehtEripmav@users.noreply.github.com> | 2023-07-22 19:21:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-23 00:21:33 +0100 |
commit | 6c7c25830e39f145e601995b338be945b6481a8a (patch) | |
tree | a4051a296cabbbe63b3043a3d67d45ce0817fcd6 /recipes/telegram/webview.js | |
parent | Fix Instagram messages count (#387) (diff) | |
download | ferdium-recipes-6c7c25830e39f145e601995b338be945b6481a8a.tar.gz ferdium-recipes-6c7c25830e39f145e601995b338be945b6481a8a.tar.zst ferdium-recipes-6c7c25830e39f145e601995b338be945b6481a8a.zip |
Update counter for Telegram webZ (#395)
Diffstat (limited to 'recipes/telegram/webview.js')
-rw-r--r-- | recipes/telegram/webview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/telegram/webview.js b/recipes/telegram/webview.js index a4133ca..ee9e803 100644 --- a/recipes/telegram/webview.js +++ b/recipes/telegram/webview.js | |||
@@ -18,10 +18,10 @@ module.exports = (Ferdium, settings) => { | |||
18 | let groupCount = 0; | 18 | let groupCount = 0; |
19 | 19 | ||
20 | const directCountSelector = document.querySelectorAll( | 20 | const directCountSelector = document.querySelectorAll( |
21 | '.chat-list .ListItem.private .Badge.unread:not(.muted)', | 21 | '.chat-list .ListItem.private .ChatBadge.unread:not(.muted)', |
22 | ); | 22 | ); |
23 | const groupCountSelector = document.querySelectorAll( | 23 | const groupCountSelector = document.querySelectorAll( |
24 | '.chat-list .ListItem.group .Badge.unread:not(.muted)', | 24 | '.chat-list .ListItem.group .ChatBadge.unread:not(.muted)', |
25 | ); | 25 | ); |
26 | 26 | ||
27 | for (const badge of directCountSelector) { | 27 | for (const badge of directCountSelector) { |