mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	closes #3732
This commit is contained in:
		| @@ -223,14 +223,12 @@ define('forum/topic/posts', [ | ||||
| 		postTools.updatePostCount(); | ||||
| 		addBlockquoteEllipses(posts.find('[component="post/content"] > blockquote > blockquote')); | ||||
| 		hidePostToolsForDeletedPosts(posts); | ||||
| 		showBottomPostBar(); | ||||
| 		Posts.showBottomPostBar(); | ||||
| 	}; | ||||
|  | ||||
| 	function showBottomPostBar() { | ||||
| 		if (components.get('post').length > 1 || !components.get('post', 'index', 0).length) { | ||||
| 			$('.bottom-post-bar').removeClass('hidden'); | ||||
| 		} | ||||
| 	} | ||||
| 	Posts.showBottomPostBar = function() { | ||||
| 		$('.bottom-post-bar').toggleClass('hidden', components.get('post').length <= 1 && !!components.get('post', 'index', 0).length); | ||||
| 	}; | ||||
|  | ||||
| 	function hidePostToolsForDeletedPosts(posts) { | ||||
| 		posts.each(function() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user