|
|
|
@ -225,14 +225,14 @@ define('forum/topic/posts', [
|
|
|
|
|
utils.addCommasToNumbers(element.find('.formatted-number'));
|
|
|
|
|
utils.makeNumbersHumanReadable(element.find('.human-readable-number'));
|
|
|
|
|
element.find('.timeago').timeago();
|
|
|
|
|
element.find('.post-content img:not(.emoji)').addClass('img-responsive').each(function() {
|
|
|
|
|
element.find('[component="post/content"] img:not(.emoji), .post-content img:not(.emoji)').addClass('img-responsive').each(function() {
|
|
|
|
|
var $this = $(this);
|
|
|
|
|
if (!$this.parent().is('a')) {
|
|
|
|
|
$this.wrap('<a href="' + $this.attr('src') + '" target="_blank">');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
postTools.updatePostCount();
|
|
|
|
|
addBlockquoteEllipses(element.find('.post-content > blockquote'));
|
|
|
|
|
addBlockquoteEllipses(element.find('[component="post/content"] > blockquote, .post-content > blockquote'));
|
|
|
|
|
hidePostToolsForDeletedPosts(element);
|
|
|
|
|
showBottomPostBar();
|
|
|
|
|
};
|
|
|
|
|