mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 05:50:25 +01:00
addBlockquoteEllipses to newly created posts #1491
This commit is contained in:
@@ -308,8 +308,6 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
|
|||||||
$('#post-container li[data-pid]').each(function() {
|
$('#post-container li[data-pid]').each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
|
|
||||||
addBlockquoteEllipses($this.find('.post-content > blockquote'));
|
|
||||||
|
|
||||||
if(firstPid > parseInt($this.attr('data-pid'), 10)) {
|
if(firstPid > parseInt($this.attr('data-pid'), 10)) {
|
||||||
after = $this;
|
after = $this;
|
||||||
if(after.next().length && after.next().hasClass('post-bar')) {
|
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');
|
translated.hide().fadeIn('slow');
|
||||||
|
addBlockquoteEllipses(translated.find('.post-content > blockquote'));
|
||||||
|
|
||||||
onNewPostsLoaded(translated, data.posts);
|
onNewPostsLoaded(translated, data.posts);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user