#3322 properly, @barisusakli so no need to copy pasta everywhere timeago is used

This commit is contained in:
psychobunny
2015-08-17 16:26:35 -04:00
parent 370a7ae2fb
commit 3d962822c6
3 changed files with 13 additions and 6 deletions

View File

@@ -241,9 +241,9 @@ app.cacheBuster = null;
app.processPage = function () {
highlightNavigationLink();
$('.timeago').timeago().each(function() {
$(this).attr('title', (new Date($(this).attr('title'))).toString());
});
utils.overrideTimeago();
$('.timeago').timeago();
utils.makeNumbersHumanReadable($('.human-readable-number'));