addBlockquoteEllipses to newly created posts #1491

This commit is contained in:
psychobunny
2014-05-06 15:09:35 -04:00
parent 3b7d222ec3
commit f697b5a2b8

View File

@@ -308,8 +308,6 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
$('#post-container li[data-pid]').each(function() {
var $this = $(this);
addBlockquoteEllipses($this.find('.post-content > blockquote'));
if(firstPid > parseInt($this.attr('data-pid'), 10)) {
after = $this;
if(after.next().length && after.next().hasClass('post-bar')) {
@@ -350,6 +348,7 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
}
translated.hide().fadeIn('slow');
addBlockquoteEllipses(translated.find('.post-content > blockquote'));
onNewPostsLoaded(translated, data.posts);