Small JS typo.
This commit is contained in:
parent
56547573fd
commit
b7881aa9de
@ -9,7 +9,7 @@ window.addEventListener('load', () => {
|
|||||||
const nameInput = document.getElementById('name-input')
|
const nameInput = document.getElementById('name-input')
|
||||||
const emailInput = document.getElementById('email-input')
|
const emailInput = document.getElementById('email-input')
|
||||||
const messageInput = document.getElementById('message-input')
|
const messageInput = document.getElementById('message-input')
|
||||||
const submitInput = this.document.getElementById('submit-input')
|
const submitInput = document.getElementById('submit-input')
|
||||||
|
|
||||||
const validateName = () => {
|
const validateName = () => {
|
||||||
if (nameInput.validity.valid) {
|
if (nameInput.validity.valid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user