fix timestamp not showing for replies, remove allowFuture @julianlam

v1.18.x
Barış Soner Uşaklı 8 years ago
parent 986e52897d
commit 670a5d9ca0

@ -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);

Loading…
Cancel
Save