moving chat timestamp to top of message, not end

v1.18.x
Julian Lam 11 years ago
parent 29420d6f82
commit 7dffc2a2e9

@ -323,10 +323,11 @@ define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
message.append(userPicture) message.append(userPicture)
.append(userName) .append(userName)
.append('<br/>'); .append('<br/>')
.prepend(time);
} }
message.append(S(data.content + time).stripTags('p').s); message.append(S(data.content).stripTags('p').s);
message.toggleClass('chat-message-them', !isYou); message.toggleClass('chat-message-them', !isYou);
message.find('img:not(".chat-user-image")').addClass('img-responsive'); message.find('img:not(".chat-user-image")').addClass('img-responsive');

Loading…
Cancel
Save