Initial commit
This commit is contained in:
commit
63ee71a19b
123 files changed
+11268
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { sendFormAsync } from "./shared.js";
|
||||
|
||||
async function signupAsync(params) {
|
||||
const form = document.getElementById('signupForm');
|
||||
await sendFormAsync(form);
|
||||
}
|
||||
|
||||
const signupForm = document.getElementById('signupForm');
|
||||
signupForm.addEventListener('submit', async (event) => {
|
||||
event.preventDefault(); // Prevent the default form submission
|
||||
await signupAsync();
|
||||
});
|
||||
Reference in new issue
Block a user