From b303fdcfd79247ea54024c453a2eb2a2394b8611 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Wed, 15 Jan 2014 12:58:43 -0500 Subject: [PATCH] removed inline css --- public/src/modules/chat.js | 6 +++--- public/templates/chat.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index c35f138829..7184dca42d 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -227,9 +227,9 @@ define(['taskbar', 'string'], function(taskbar, S) { var chatContent = chatModal.find('#chat-content'); var date = new Date(parseInt(timestamp, 10)); - // todo Add this to a stylesheet instead of style tag - var prefix = '' + date.toLocaleTimeString() + ' '; - message = "
" + S(prefix + message).stripTags('p').s + "
"; + + var prefix = '' + date.toLocaleTimeString() + ' '; + message = '
  • ' + S(prefix + message).stripTags('p').s + '
  • '; chatContent.append(message); scrollToBottom(chatContent); diff --git a/public/templates/chat.tpl b/public/templates/chat.tpl index 612bbcd018..d6e2364288 100644 --- a/public/templates/chat.tpl +++ b/public/templates/chat.tpl @@ -7,7 +7,7 @@

    [[modules:chat.chatting_with]]