From 146b126bc7f3452a1e37457900a0be313efd9b3e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 5 Jun 2014 10:03:42 +0200 Subject: [PATCH] Put time and name in bold in the chat It's easier to distinguish the text like this --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index efdede0..3055015 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -665,7 +665,7 @@ function initVroom(room) { var displayName = from; } // Create the new msg - var newmsg = $('
' + time + ' ' + stringEscape(displayName) + '

' + linkify(stringEscape(message)) + '

').css('background-color', color); + var newmsg = $('
' + time + ' ' + stringEscape(displayName) + '

' + linkify(stringEscape(message)) + '

').css('background-color', color); // Add it in the history $('
').append(newmsg).appendTo('#chatHistory'); // Move the scroller down