From 0c2bdfaf77732fc8eb4c52600836539576cfcbe2 Mon Sep 17 00:00:00 2001 From: NigeParis Date: Thu, 4 Dec 2025 18:58:23 +0100 Subject: [PATCH] end of the day --- frontend/src/pages/chat/chat.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/chat/chat.ts b/frontend/src/pages/chat/chat.ts index 4bfb307..62659b4 100644 --- a/frontend/src/pages/chat/chat.ts +++ b/frontend/src/pages/chat/chat.ts @@ -361,7 +361,7 @@ function handleChat(_url: string, _args: RouteHandlerParams): RouteHandlerReturn bwhoami.click(); break; case '@cls': - clearText.click(); + chatWindow.innerHTML = ''; break; case '@quit': bquit.click(); @@ -380,7 +380,6 @@ function handleChat(_url: string, _args: RouteHandlerParams): RouteHandlerReturn clearText?.addEventListener("click", () => { if (chatWindow) { - connected(socket); chatWindow.innerHTML = ''; } });