diff options
author | 2020-07-28 11:04:15 +0200 | |
---|---|---|
committer | 2020-07-28 11:24:51 +0200 | |
commit | a0df2a80e42508205c365c3b4a922e77ae707ce4 (patch) | |
tree | b425fe608b655570755eea425f278ea10bb813ad /uncompressed/element/webview.js | |
parent | Update recipe for element (diff) | |
download | ferdium-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.js | 2 |
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 | ||
3 | module.exports = Franz => { | 3 | module.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; |