mirror of https://github.com/calzoneman/sync.git
Minor fix
This commit is contained in:
parent
8c9cbca4c4
commit
f2df18979c
|
@ -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/>");
|
||||
|
|
Loading…
Reference in New Issue