allow timeago to be cast on other elements as well, ex. small

This commit is contained in:
psychobunny
2015-03-16 17:22:44 -04:00
parent 82ac542f55
commit 412c5360a6
15 changed files with 16 additions and 16 deletions

View File

@@ -224,7 +224,7 @@ define('forum/topic/posts', [
app.replaceSelfLinks(element.find('a'));
utils.addCommasToNumbers(element.find('.formatted-number'));
utils.makeNumbersHumanReadable(element.find('.human-readable-number'));
element.find('span.timeago').timeago();
element.find('.timeago').timeago();
element.find('.post-content img:not(.emoji)').addClass('img-responsive').each(function() {
var $this = $(this);
if (!$this.parent().is('a')) {