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