mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
closes #573
This commit is contained in:
@@ -297,6 +297,13 @@ var socket,
|
||||
});
|
||||
}
|
||||
|
||||
app.makeNumbersHumanReadable = function() {
|
||||
$('.human-readable-number').each(function() {
|
||||
var num = parseInt($(this).html(), 10);
|
||||
$(this).html(utils.makeNumberHumanReadable(num));
|
||||
});
|
||||
}
|
||||
|
||||
app.processPage = function () {
|
||||
app.populateOnlineUsers();
|
||||
|
||||
@@ -305,6 +312,8 @@ var socket,
|
||||
$('span.timeago').timeago();
|
||||
$('.post-content img').addClass('img-responsive');
|
||||
|
||||
app.makeNumbersHumanReadable();
|
||||
|
||||
app.createUserTooltips();
|
||||
|
||||
setTimeout(function () {
|
||||
|
||||
Reference in New Issue
Block a user