parent
e3c05368fb
commit
cac80847ac
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
function formHandler(listener) {
|
||||
listener.preventDefault();
|
||||
const formData = new FormData(formEl);
|
||||
const field = formData.get("field");
|
||||
const field = document.getElementById('field').value;
|
||||
if (field !== "") {
|
||||
const user = formData.get("user");
|
||||
const pass = formData.get("pass");
|
||||
|
|
Loading…
Reference in a new issue