mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	closes #3677
This commit is contained in:
		@@ -246,7 +246,9 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator
 | 
			
		||||
	function getUserName(button) {
 | 
			
		||||
		var username = '',
 | 
			
		||||
			post = button.parents('[data-pid]');
 | 
			
		||||
 | 
			
		||||
		if (button.attr('component') === 'topic/reply') {
 | 
			
		||||
			return username;
 | 
			
		||||
		}
 | 
			
		||||
		if (post.length) {
 | 
			
		||||
			username = post.attr('data-username').replace(/\s/g, '-');
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user