Merge pull request #104 from Nothing4You/fix-maintenance-relative-dates

Fix relative timestamps not properly displaying dates in the future.
This commit is contained in:
Vojtěch Sajdl 2020-06-12 12:04:54 +02:00 committed by GitHub
commit d9b7ed432e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@ function timeago()
} }
(function(){ (function(){
jQuery.timeago.settings.allowFuture = true;
timeago(); timeago();
$("body").on("click", ".navbar-toggle", function(){ $("body").on("click", ".navbar-toggle", function(){
@ -27,4 +29,4 @@ function timeago()
}); });
}); });
})(); })();