about summary refs log tree commit diff
path: root/public
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-09-19 15:56:19 -0500
committerFire Demon <firedemon@creature.cafe>2020-09-19 15:56:19 -0500
commit172cdaa3282e2e144722a866fdfdb74b9baf7e59 (patch)
treec3b23ce0f37bb46e8d89f97709dc2f14c706e7d5 /public
parent2b2c23ed0dcd9846bcab0206baa266e959ec35d7 (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.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);