mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-02-05 03:24:17 +00:00
format DM display - fixes miguelfreitas/twister-html#43
This commit is contained in:
parent
2b50b6c933
commit
d025e30e4d
@ -116,7 +116,8 @@ function dmDataToSnippetItem(dmData, remoteUser) {
|
||||
dmItem.find("a.dm-chat-link").attr("href", $.MAL.dmchatUrl(remoteUser));
|
||||
getAvatar( remoteUser, dmItem.find(".post-photo").find("img") );
|
||||
getFullname( remoteUser, dmItem.find("a.post-info-name") );
|
||||
dmItem.find(".post-text").text(escapeHtmlEntities(dmData.text));
|
||||
var mentions = [];
|
||||
htmlFormatMsg(dmData.text, dmItem.find(".post-text"), mentions);
|
||||
dmItem.find(".post-info-time").text(timeGmtToText(dmData.time));
|
||||
dmItem.find(".post-info-time").attr("title",timeSincePost(dmData.time));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user