forked from ilot/ilot-io
content/join: fix registration form
This commit is contained in:
parent
dac077d9a8
commit
63ae5e954e
1 changed files with 1 additions and 3 deletions
|
@ -16,10 +16,8 @@
|
|||
.findIndex(item => item.title === email);
|
||||
|
||||
if (index !== -1) {
|
||||
console.log(result[index]);
|
||||
return true;
|
||||
} else {
|
||||
console.log("Item not found");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -69,7 +67,7 @@
|
|||
.then(response => response.json())
|
||||
.then(result => {
|
||||
console.log('Success:', result);
|
||||
alaert("Request submitted. A working group member will process your registration shortly. If you receive no contact within seven days of registration, please send an email to support@ilot.io");
|
||||
alert("Request submitted. A working group member will process your registration shortly. If you receive no contact within seven days of registration, please send an email to support@ilot.io");
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error)
|
||||
|
|
Loading…
Add table
Reference in a new issue