mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-16 19:20:21 +02:00
add back timeago.allowFuture so we can notify when a ban will expire
This commit is contained in:
@@ -117,6 +117,8 @@ 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