Add closing bracket to selector (#18723)

GitOrigin-RevId: ca0966efdd7051d703ab3a6a6eaf6f421f6b7cef
This commit is contained in:
Alf Eaton 2024-06-11 09:36:08 +01:00 committed by Copybot
parent af78b914df
commit 5f60158e99

View file

@ -22,7 +22,7 @@ document
})
})
document.querySelectorAll('[data-ol-contact-form').forEach(el => {
document.querySelectorAll('[data-ol-contact-form]').forEach(el => {
el.addEventListener('submit', function (e) {
const emailValue = document.querySelector(
'[data-ol-contact-form-email-input]'