diff --git a/static/main.js b/static/main.js index ec09b3d..0a38607 100644 --- a/static/main.js +++ b/static/main.js @@ -24,7 +24,7 @@ class Message { let name = document.createElement('span'); name.className = "text name"; - name.style.color = readableColor(this.context.color); + name.style.color = readableColor(this.context.color || "#ff0000"); name.innerHTML = escapeHtml(this.context["display-name"]); badges.appendChild(name);