mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fix commas
This commit is contained in:
@@ -24,6 +24,7 @@ define('forum/topic/posts', [
|
||||
for (var i=0; i<data.posts.length; ++i) {
|
||||
var cmp = components.get('user/postcount', data.posts[i].uid);
|
||||
cmp.html(parseInt(cmp.attr('data-postcount'), 10) + 1);
|
||||
utils.addCommasToNumbers(cmp);
|
||||
}
|
||||
|
||||
createNewPosts(data, components.get('post').not('[data-index=0]'), function(html) {
|
||||
|
||||
Reference in New Issue
Block a user