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 time = $("<span/>").addClass("timestamp").appendTo(div);
|
||||||
var timestamp = new Date(data.time).toTimeString().split(" ")[0];
|
var timestamp = new Date(data.time).toTimeString().split(" ")[0];
|
||||||
time.text("["+timestamp+"] ");
|
time.text("["+timestamp+"] ");
|
||||||
if(data.msgclass != "greentext" && data.msgclass != "drink")
|
if(data.msgclass == "shout" || data.msgclass == "server-whisper")
|
||||||
time.addClass(data.msgclass);
|
time.addClass(data.msgclass);
|
||||||
}
|
}
|
||||||
var name = $("<span/>");
|
var name = $("<span/>");
|
||||||
|
|
Loading…
Reference in New Issue