diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-19 15:56:19 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-19 15:56:19 -0500 |
commit | 172cdaa3282e2e144722a866fdfdb74b9baf7e59 (patch) | |
tree | c3b23ce0f37bb46e8d89f97709dc2f14c706e7d5 /public | |
parent | 2b2c23ed0dcd9846bcab0206baa266e959ec35d7 (diff) |
[Bug] Attach sign-up form verification handler when DOM is ready rather than when all resources have loaded
Diffstat (limited to 'public')
-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); |