diff options
| author | stonedDiscord <Tukz@gmx.de> | 2026-04-18 13:55:56 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2026-04-18 13:55:56 +0200 |
| commit | a7e664d5527dac59d722cdb48bfd8e3edf86645f (patch) | |
| tree | 1cdbf0bc60ead6562227e128b6299d7b0843d554 /webAO | |
| parent | 0fe5422373c60214c6d99931239fed00abcd7198 (diff) | |
hide confusing text for banned players
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client/handleBans.ts | 2 | ||||
| -rw-r--r-- | webAO/styles/client.css | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/webAO/client/handleBans.ts b/webAO/client/handleBans.ts index 004b27e..eeacf40 100644 --- a/webAO/client/handleBans.ts +++ b/webAO/client/handleBans.ts @@ -11,4 +11,6 @@ export const handleBans = (type: string, reason: string) => { `${type}:<br>${safeTags(reason).replace(/\n/g, "<br />")}`; (<HTMLElement>document.getElementById("client_reconnect")).style.display = "none"; + (<HTMLElement>document.getElementById("client_error_help")).style.display = + "none"; }; diff --git a/webAO/styles/client.css b/webAO/styles/client.css index 673d176..1c1b5c2 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -98,6 +98,7 @@ } #client_error_code { + display: none; color: #999; font-size: 12px; margin: 0 0 16px; |
