aboutsummaryrefslogtreecommitdiff
path: root/static/js/timeago.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/timeago.ts')
-rw-r--r--static/js/timeago.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/timeago.ts b/static/js/timeago.ts
index f7567ed..81ae579 100644
--- a/static/js/timeago.ts
+++ b/static/js/timeago.ts
@@ -47,7 +47,7 @@
const substitution = setInterval(date, 4);
- self.addEventListener("load", function () {
+ self.addEventListener("DOMContentLoaded", function () {
setTimeout(function () {
clearInterval(substitution);
setInterval(date, 1000);