Fix inverted icon

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-01-20 14:08:57 +01:00
parent 19be3293e0
commit f8179f0c7a
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 2 additions and 2 deletions

View File

@ -133,10 +133,10 @@ export default class TextualBody extends React.Component {
button.onclick = async () => {
if (pre.className == "mx_EventTile_collapsedCodeBlock") {
pre.className = "";
button.className = "mx_EventTile_expandButton";
button.className = "mx_EventTile_collapseButton";
} else {
pre.className = "mx_EventTile_collapsedCodeBlock";
button.className = "mx_EventTile_collapseButton";
button.className = "mx_EventTile_expandButton";
}
};