wtf-webseite/assets/js/contact_form_toggle.js

6 lines
270 B
JavaScript
Raw Normal View History

/* Unhide contact form if JS is enabled */
window.addEventListener('DOMContentLoaded', (event) => {
const contact_form_wrapper = document.getElementsByClassName('content__contact_form_wrapper')[0];
contact_form_wrapper.style.setProperty('display', 'block');
});