diff --git a/public/creator.html b/public/creator.html
index bdf6187..e7948f3 100644
--- a/public/creator.html
+++ b/public/creator.html
@@ -19,7 +19,7 @@
-
+
@@ -35,7 +35,7 @@ Bondscape Event Creator
Note: This tool can only be used by people possessing an admin key.
-
diff --git a/public/scripts/creator.js b/public/scripts/creator.js
index 1ace01e..e5ccb5d 100644
--- a/public/scripts/creator.js
+++ b/public/scripts/creator.js
@@ -201,12 +201,8 @@ async function handleFormSubmission(event) {
// --- Page setup
// --------------------------------------------------------------------------------------------------------------------
-window.addEventListener("DOMContentLoaded", function () {
- document.getElementById("eventCreationForm").addEventListener("submit", function (event) {
- event.preventDefault();
-
- showLoadingIndicator();
-
- setTimeout(handleFormSubmission, 2000);
- });
-});
\ No newline at end of file
+function submitForm(event) {
+ event.preventDefault();
+ showLoadingIndicator();
+ setTimeout(handleFormSubmission, 2000);
+}
\ No newline at end of file