Skip to content

Node.js based forum software built for the modern web

closes #3617

barisusakli1e3391ff1293
diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js
index 254ffc0b35..89fede22aa 100644
--- a/public/src/modules/chat.js
+++ b/public/src/modules/chat.js
@@ -471,9 +471,9 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
Chats.parseMessage(data, function(html) {
var message = $(html);
+ message.appendTo(chatContent);
message.find('img:not(.not-responsive)').addClass('img-responsive');
message.find('.timeago').timeago();
- message.appendTo(chatContent);
Chats.scrollToBottom(chatContent);
if (typeof done === 'function') {