Skip to content

Commit

Permalink
Eslint correct
Browse files Browse the repository at this point in the history
  • Loading branch information
SviatoslavTaranenko committed Dec 24, 2023
1 parent 0f74fb3 commit 60293c4
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ function isEmail(email) {
return emailText.test(showEmail);
}

function validateForm(){

function validateForm() {
deleteErrorsCheckbox();
deleteErrorsEmail();
deleteErrorsPassword();
Expand Down Expand Up @@ -114,7 +113,5 @@ function validateForm(){
navigateToResultPage();
}
}

validateForm();

submitButton.onclick = validateForm;

0 comments on commit 60293c4

Please sign in to comment.