#2894 no need to remove if there are no new posts

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 36942125e6
commit 4a18a041c9

@ -75,7 +75,7 @@ define('forum/topic/posts', [
}
}
if (data.posts.length > 1) {
if (newPosts.length && data.posts.length > 1) {
data.posts.forEach(function(post) {
components.get('post', 'pid', post.pid).remove();
});

Loading…
Cancel
Save