Fix inverted icon
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
19be3293e0
commit
f8179f0c7a
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue