about summary refs log tree commit diff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/registration.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/registration.js b/public/registration.js
index a82ec09c2..0533a48c3 100644
--- a/public/registration.js
+++ b/public/registration.js
@@ -50,5 +50,5 @@ function addSubmitHandler() {
   if (!!form) { form.addEventListener('submit', handleSubmit); }
 }
 
-window.addEventListener("load", addSubmitHandler);
+window.addEventListener('DOMContentLoaded', addSubmitHandler);