From f4dd0c14aeebd70cf33f55c663ded67bad5383ac Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 17 Aug 2015 13:19:20 -0400 Subject: [PATCH] update title for new posts as well --- public/src/client/topic/posts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index 6532ae648c..4ad5d3ad60 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -255,7 +255,9 @@ define('forum/topic/posts', [ app.replaceSelfLinks(posts.find('a')); utils.addCommasToNumbers(posts.find('.formatted-number')); utils.makeNumbersHumanReadable(posts.find('.human-readable-number')); - posts.find('.timeago').timeago(); + posts.find('.timeago').timeago().each(function() { + $(this).attr('title', (new Date($(this).attr('title'))).toString()); + }); posts.find('[component="post/content"] img:not(.emoji)').each(function() { var $this = $(this); if (!$this.parent().is('a')) {