Skip to content

Commit

Permalink
Fix the app
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsf82 committed Jun 24, 2024
1 parent 936a378 commit a1035f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ document.querySelector('button[type="submit"]')
return showAndHideErrorMessage()
}
if (!emailField.value.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)) {
// return showAndHideErrorMessage()
return showAndHideErrorMessage()
}
firstNameField.value = ''
lastNameField.value = ''
Expand Down

0 comments on commit a1035f2

Please sign in to comment.