mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	#2894 no need to remove if there are no new posts
This commit is contained in:
		| @@ -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(); | ||||
| 				}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user