mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
#3322 properly, @barisusakli so no need to copy pasta everywhere timeago is used
This commit is contained in:
@@ -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'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user