Minor fix

This commit is contained in:
calzoneman 2013-06-22 19:07:33 -04:00
parent 8c9cbca4c4
commit f2df18979c
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ function formatChatMessage(data) {
var time = $("<span/>").addClass("timestamp").appendTo(div);
var timestamp = new Date(data.time).toTimeString().split(" ")[0];
time.text("["+timestamp+"] ");
if(data.msgclass != "greentext" && data.msgclass != "drink")
if(data.msgclass == "shout" || data.msgclass == "server-whisper")
time.addClass(data.msgclass);
}
var name = $("<span/>");