mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
moved add commas to process page
This commit is contained in:
@@ -296,6 +296,8 @@ var socket,
|
||||
|
||||
utils.makeNumbersHumanReadable($('.human-readable-number'));
|
||||
|
||||
utils.addCommasToNumbers($('.formatted-number'));
|
||||
|
||||
app.createUserTooltips();
|
||||
|
||||
app.createStatusTooltips();
|
||||
|
||||
@@ -13,7 +13,6 @@ define(['forum/account/header'], function(header) {
|
||||
$('#no-followers-notice').removeClass('hide');
|
||||
}
|
||||
|
||||
utils.addCommasToNumbers($('.account .formatted-number'));
|
||||
};
|
||||
|
||||
return Followers;
|
||||
|
||||
@@ -9,8 +9,6 @@ define(['forum/account/header'], function(header) {
|
||||
if (parseInt(followingCount, 10) === 0) {
|
||||
$('#no-following-notice').removeClass('hide');
|
||||
}
|
||||
|
||||
utils.addCommasToNumbers($('.account .formatted-number'));
|
||||
};
|
||||
|
||||
return Following;
|
||||
|
||||
@@ -39,8 +39,6 @@ define(['forum/account/header'], function(header) {
|
||||
};
|
||||
|
||||
function processPage() {
|
||||
utils.addCommasToNumbers($('.account .formatted-number'));
|
||||
utils.makeNumbersHumanReadable($('.account .human-readable-number'));
|
||||
$('.user-recent-posts img').addClass('img-responsive');
|
||||
}
|
||||
|
||||
|
||||
@@ -33,8 +33,6 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
|
||||
|
||||
$(window).trigger('action:topic.loading');
|
||||
|
||||
utils.addCommasToNumbers($('.topic .formatted-number'));
|
||||
|
||||
app.enterRoom('topic_' + tid);
|
||||
|
||||
showBottomPostBar();
|
||||
@@ -110,7 +108,7 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
|
||||
$this.append('<i class="fa fa-ellipsis-h pointer toggle"></i>');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('blockquote .toggle').on('click', function() {
|
||||
$(this).parent('blockquote').toggleClass('uncollapsed');
|
||||
});
|
||||
|
||||
@@ -16,8 +16,6 @@ define(function() {
|
||||
|
||||
var lastSearch = null;
|
||||
|
||||
utils.addCommasToNumbers($('.users .formatted-number'));
|
||||
|
||||
$('.nav-pills li').removeClass('active');
|
||||
$('.nav-pills li a').each(function() {
|
||||
var $this = $(this);
|
||||
|
||||
Reference in New Issue
Block a user