From 2ed6f9a2e837b85382d62ce3f9b6c180dec3d48e Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 9 May 2020 14:33:12 +0200 Subject: allow chatboxes to use centered text all the time --- webAO/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client.js') diff --git a/webAO/client.js b/webAO/client.js index 07acdde..d2676f9 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1736,7 +1736,7 @@ async changeBackground(position) { chatBoxInner.style.textAlign = "center"; this.chatmsg.content = this.chatmsg.content.substring(2, this.chatmsg.content.length); } else { - chatBoxInner.style.textAlign = "initial"; + chatBoxInner.style.textAlign = "inherit"; } this.tick(); -- cgit