diff options
author | Achim Leitner <git@fjl.de> | 2021-04-29 16:25:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 14:25:15 +0000 |
commit | 5954291c025542d21a7e1f1933de1cc520da6397 (patch) | |
tree | b99c5778ada9c1853aaa6677481827d8077ebd4e | |
parent | Update Zulip Logo and contact details of original recipe author (#470) (diff) | |
download | ferdium-recipes-5954291c025542d21a7e1f1933de1cc520da6397.tar.gz ferdium-recipes-5954291c025542d21a7e1f1933de1cc520da6397.tar.zst ferdium-recipes-5954291c025542d21a7e1f1933de1cc520da6397.zip |
Update Element recipe (#479)
-rw-r--r-- | recipes/element/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/element/webview.js b/recipes/element/webview.js index aab6038..7ccf97b 100644 --- a/recipes/element/webview.js +++ b/recipes/element/webview.js | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | module.exports = Franz => { | 3 | module.exports = Franz => { |
4 | function getMessages() { | 4 | function getMessages() { |
5 | const badges = document.getElementsByClassName('mx_RoomSublist_badgeContainer'); | 5 | const badges = document.querySelectorAll('.mx_RoomSublist:not(.mx_RoomSublist_hidden) .mx_RoomSublist_badgeContainer'); |
6 | 6 | ||
7 | // Number of messages from People | 7 | // Number of messages from People |
8 | let direct_count = 0; | 8 | let direct_count = 0; |