aboutsummaryrefslogtreecommitdiff
path: root/assets/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/index.js')
-rw-r--r--assets/js/index.js2
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);