Fix bug in contact.js.
This commit is contained in:
parent
c97d2ac1e5
commit
4f8696afca
1 changed files with 2 additions and 2 deletions
|
|
@ -38,11 +38,11 @@
|
|||
if (location.search.substring(1) !== '') {
|
||||
switch (location.search.substring(1)) {
|
||||
case 'submitted':
|
||||
document.querySelector(['data-contact-submitted']).classList.remove('hidden');
|
||||
document.querySelector('[data-contact-submitted]').classList.remove('hidden');
|
||||
break;
|
||||
|
||||
case 'error':
|
||||
document.querySelector(['data-contact-error']).classList.remove('hidden');
|
||||
document.querySelector('[data-contact-error]').classList.remove('hidden');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue