diff options
author | tdro <tdro@noreply.example.com> | 2023-04-14 16:36:28 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-04-14 16:36:28 -0400 |
commit | c5380f601ff60132aa57d50061a921064ee74495 (patch) | |
tree | 3fa1e420d922e1620e771b9b7959d47e47464abf /static | |
parent | 18a33f07c4cffb1152be0c98dda3a21e9350046c (diff) | |
download | canory-c5380f601ff60132aa57d50061a921064ee74495.tar.gz canory-c5380f601ff60132aa57d50061a921064ee74495.tar.bz2 canory-c5380f601ff60132aa57d50061a921064ee74495.zip |
static/js/timeago.ts: load -> DOMContentLoaded
Diffstat (limited to 'static')
-rw-r--r-- | static/js/timeago.ts | 2 |
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); |