diff options
-rw-r--r-- | public/registration.js | 2 |
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); |