mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01:00
fix timestamp not showing for replies, remove allowFuture @julianlam
This commit is contained in:
@@ -93,7 +93,7 @@ define('forum/topic/replies', ['navigator', 'components', 'forum/topic/posts'],
|
||||
countEl.translateText('[[topic:replies_to_this_post, ' + count + ']]');
|
||||
avatars.addClass('hasMore');
|
||||
|
||||
timestamp.timeago();
|
||||
timestamp.data('timeago', null).timeago();
|
||||
}
|
||||
|
||||
return Replies;
|
||||
|
||||
@@ -117,8 +117,6 @@ if (typeof window !== 'undefined') {
|
||||
$.timeago.settings.cutoff = 1000 * 60 * 60 * 24 * (parseInt(config.timeagoCutoff, 10) || 30);
|
||||
}
|
||||
|
||||
$.timeago.settings.allowFuture = true;
|
||||
|
||||
$.fn.timeago = function () {
|
||||
var els = $(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user