This commit is contained in:
Baris Usakli
2013-11-28 11:16:52 -05:00
parent 78b65c0b12
commit 7198110b57
8 changed files with 21 additions and 10 deletions

View File

@@ -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 () {