Merge remote-tracking branch 'upstream/3.0' into 3.0

This commit is contained in:
Xaekai 2015-02-05 20:33:59 -08:00
commit b909c93517
1 changed files with 1 additions and 1 deletions

View File

@ -1450,7 +1450,7 @@ function addChatMessage(data) {
var div = formatChatMessage(data, LASTCHAT);
// Incoming: a bunch of crap for the feature where if you hover over
// a message, it highlights messages from that user
var safeUsername = data.username.replace(/[^\w-]/g, '$');
var safeUsername = data.username.replace(/[^\w-]/g, '\\$');
div.addClass("chat-msg-" + safeUsername);
div.appendTo($("#messagebuffer"));
div.mouseover(function() {