From f8179f0c7a2c7cfb92d9cd3d6f6ecfdeb5a45513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 20 Jan 2021 14:08:57 +0100 Subject: [PATCH] Fix inverted icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/messages/TextualBody.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index 902271a29e..511ea61904 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -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"; } };