aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/element/webview.js
diff options
context:
space:
mode:
authorLibravatar Achim Leitner <git@fjl.de>2020-07-28 11:04:15 +0200
committerLibravatar Achim Leitner <git@fjl.de>2020-07-28 11:24:51 +0200
commita0df2a80e42508205c365c3b4a922e77ae707ce4 (patch)
treeb425fe608b655570755eea425f278ea10bb813ad /uncompressed/element/webview.js
parentUpdate recipe for element (diff)
downloadferdium-recipes-a0df2a80e42508205c365c3b4a922e77ae707ce4.tar.gz
ferdium-recipes-a0df2a80e42508205c365c3b4a922e77ae707ce4.tar.zst
ferdium-recipes-a0df2a80e42508205c365c3b4a922e77ae707ce4.zip
Update room list's CSS class name
The element web app has just recently received another update, which changes the name of the CSS class mx_RoomSublist2_badgeContainer to the more straight-forward mx_RoomSublist_badgeContainer. See: https://github.com/matrix-org/matrix-react-sdk/commit/c9b0b3b
Diffstat (limited to 'uncompressed/element/webview.js')
-rw-r--r--uncompressed/element/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompressed/element/webview.js b/uncompressed/element/webview.js
index 58d18bb..aab6038 100644
--- a/uncompressed/element/webview.js
+++ b/uncompressed/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_RoomSublist2_badgeContainer'); 5 const badges = document.getElementsByClassName('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;