aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorLibravatar Achim Leitner <git@fjl.de>2021-04-29 16:25:15 +0200
committerLibravatar GitHub <noreply@github.com>2021-04-29 14:25:15 +0000
commit5954291c025542d21a7e1f1933de1cc520da6397 (patch)
treeb99c5778ada9c1853aaa6677481827d8077ebd4e /recipes
parentUpdate Zulip Logo and contact details of original recipe author (#470) (diff)
downloadferdium-recipes-5954291c025542d21a7e1f1933de1cc520da6397.tar.gz
ferdium-recipes-5954291c025542d21a7e1f1933de1cc520da6397.tar.zst
ferdium-recipes-5954291c025542d21a7e1f1933de1cc520da6397.zip
Update Element recipe (#479)
Diffstat (limited to 'recipes')
-rw-r--r--recipes/element/webview.js2
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
3module.exports = Franz => { 3module.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;