From 4695df2599459806fb5421e19e1820bffa239168 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 25 Oct 2025 16:05:56 +0500 Subject: feat: style.css --- scripts/chat.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/chat.js') diff --git a/scripts/chat.js b/scripts/chat.js index a845b06..b718660 100644 --- a/scripts/chat.js +++ b/scripts/chat.js @@ -56,6 +56,7 @@ function addMessage(message) { if ("color" in message.tags) { usernameElem.style.color = message.tags["color"]; } + usernameElem.classList.add("author"); usernameElem.textContent = `${message.nick}:`; // message text -- cgit v1.2.3