summaryrefslogtreecommitdiff
path: root/scripts/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/chat.js')
-rw-r--r--scripts/chat.js1
1 files changed, 1 insertions, 0 deletions
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