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 /assets | |
parent | 18a33f07c4cffb1152be0c98dda3a21e9350046c (diff) | |
download | canory-c5380f601ff60132aa57d50061a921064ee74495.tar.gz canory-c5380f601ff60132aa57d50061a921064ee74495.tar.bz2 canory-c5380f601ff60132aa57d50061a921064ee74495.zip |
static/js/timeago.ts: load -> DOMContentLoaded
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/index.js b/assets/js/index.js index 1e267b9..fc1f6c3 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -587,7 +587,7 @@ } }; const substitution = setInterval(date, 4); - self.addEventListener("load", function() { + self.addEventListener("DOMContentLoaded", function() { setTimeout(function() { clearInterval(substitution); setInterval(date, 1000); |