forked from ag_kommunikation/webseite
feat: Switched from hardcoded domain to relative path to improve portability.
This commit is contained in:
parent
92d2c37000
commit
b65755de8d
@ -1,5 +1,4 @@
|
|||||||
const ajaxUrl = 'https://spielwiese.wtf-eg.de/php/contact_form.php';
|
const ajaxUrl = '../php/contact_form.php';
|
||||||
// const submit_button = document.getElementsByClassName('contact_form__submit_button')[0];
|
|
||||||
const contact_form = document.getElementsByClassName('content__contact_form')[0];
|
const contact_form = document.getElementsByClassName('content__contact_form')[0];
|
||||||
const subject = document.getElementsByClassName('contact_form__subject')[0];
|
const subject = document.getElementsByClassName('contact_form__subject')[0];
|
||||||
const message = document.getElementsByClassName('contact_form__message')[0];
|
const message = document.getElementsByClassName('contact_form__message')[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user