Small JS typo.

This commit is contained in:
JesseBrault0709 2024-06-12 07:22:34 +02:00
parent 56547573fd
commit b7881aa9de

View File

@ -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) {