mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix post count tmp fix for js error from helpers.js
This commit is contained in:
		| @@ -22,8 +22,8 @@ define('forum/topic/posts', [ | ||||
| 		} | ||||
|  | ||||
| 		for (var i=0; i<data.posts.length; ++i) { | ||||
| 			var postcount = components.get('user/postcount', data.posts[i].uid).attr('data-postcount'); | ||||
| 			postcount.html(parseInt(postcount, 10) + 1); | ||||
| 			var cmp = components.get('user/postcount', data.posts[i].uid); | ||||
| 			cmp.html(parseInt(cmp.attr('data-postcount'), 10) + 1); | ||||
| 		} | ||||
|  | ||||
| 		createNewPosts(data, components.get('post').not('[data-index=0]'), function(html) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user