aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2026-03-24 12:35:41 +0100
committerDavid Skoland <davidskoland@gmail.com>2026-03-24 12:35:41 +0100
commit28a140dc8ab8adf32c783c6887e29c245981ab51 (patch)
treee86ff39f762c3f24420097eadf88f2354918e4d5
parentc923dbe9a71a77db4f32c3b3e5153d24441c0ff6 (diff)
Add Connected and Disconnected notices
-rw-r--r--public/client.html1
-rw-r--r--webAO/client.ts3
2 files changed, 2 insertions, 2 deletions
diff --git a/public/client.html b/public/client.html
index fa2f07d..cd5ff3c 100644
--- a/public/client.html
+++ b/public/client.html
@@ -988,7 +988,6 @@
<template id="log">
<meta name="frame-title" lang="en" content="Log" />
<div id="client_log">
- <div class="hrtext">&#8595; log starts here &#8595;</div>
</div>
</template>
diff --git a/webAO/client.ts b/webAO/client.ts
index e00afe6..70450cf 100644
--- a/webAO/client.ts
+++ b/webAO/client.ts
@@ -282,6 +282,7 @@ class Client extends EventEmitter {
document.getElementById("client_waiting").style.display = "block";
document.getElementById("client_loading").style.display = "block";
document.getElementById("client_charselect").style.display = "none";
+ appendICNotice("Connected");
client.joinServer();
}
@@ -297,7 +298,7 @@ class Client extends EventEmitter {
if (this.areas.length > 0) {
document.getElementById("client_errortext").textContent =
"You were disconnected from the server.";
- appendICNotice("Disconnected from the server.");
+ appendICNotice("Disconnected");
} else {
document.getElementById("client_errortext").textContent =
"Could not connect to the server.";