From b52afe4fbd3f64d75c1364314abf7813baa4dca0 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 12 Feb 2020 12:08:12 +0100 Subject: the order is important --- webAO/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webAO/client.js b/webAO/client.js index 54d05b6..9e2b5b2 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1551,13 +1551,13 @@ class Viewport { } } + chatContainerBox.style.display = "block"; + nameBox.style.display = "block"; nameBox.style.fontSize = (nameBox.offsetHeight * 0.75) + "px"; chatBox.style.display = "block"; - chatBox.style.fontSize = (chatBox.offsetHeight * 0.3) + "px"; - - chatContainerBox.style.display = "block"; + chatBox.style.fontSize = (chatBox.offsetHeight * 0.3) + "px"; if (this.chatmsg.color === 6) chatBoxInner.className = "rainbow-text"; -- cgit