diff options
author | Achim Leitner <git@fjl.de> | 2020-07-28 11:04:15 +0200 |
---|---|---|
committer | Achim Leitner <git@fjl.de> | 2020-07-28 11:24:51 +0200 |
commit | a0df2a80e42508205c365c3b4a922e77ae707ce4 (patch) | |
tree | b425fe608b655570755eea425f278ea10bb813ad /uncompressed | |
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')
-rw-r--r-- | uncompressed/element/package.json | 2 | ||||
-rw-r--r-- | uncompressed/element/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uncompressed/element/package.json b/uncompressed/element/package.json index 68cd16e..3b2f59f 100644 --- a/uncompressed/element/package.json +++ b/uncompressed/element/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "element", | 2 | "id": "element", |
3 | "name": "Element", | 3 | "name": "Element", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "description": "Decentralized, encrypted chat & collaboration powered by [matrix]", | 5 | "description": "Decentralized, encrypted chat & collaboration powered by [matrix]", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Sylvain Cecchetto <cecchetto.sylvain@me.com>, Omove <61330514+omove@users.noreply.github.com>, Achim Leitner <1033549+fjl5@users.noreply.github.com>", | 7 | "author": "Sylvain Cecchetto <cecchetto.sylvain@me.com>, Omove <61330514+omove@users.noreply.github.com>, Achim Leitner <1033549+fjl5@users.noreply.github.com>", |
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; |