fix: JS für Anzeige und Funktion des Kontaktformulars wird jetzt auf der richtigen Seite geladen. #206

Merged
muli merged 1 commits from fix_contact_form into main 2023-09-03 19:04:04 +02:00
Showing only changes of commit 71333fe693 - Show all commits

View File

@ -63,7 +63,7 @@ __ ____________________
{% if 'manifest.json'|asseturl is defined -%}
<link rel="manifest" href="{{ 'manifest.json'|asseturl }}">
{%- endif %}
{% if '/js/contact_form_toggle.js'|asseturl is defined and this.title == 'Kontakt' -%}
{% if '/js/contact_form_toggle.js'|asseturl is defined and this.title == 'Services' -%}
<script type="text/javascript" src="{{ '/js/contact_form_toggle.js'|asseturl }}"></script>
{%- endif %}
</head>
@ -131,7 +131,7 @@ __ ____________________
{%- if '/js/nav_toggle.js'|asseturl is defined -%}
<script type="text/javascript" src="{{ '/js/nav_toggle.js'|asseturl }}"></script>
{%- endif %}
{% if '/js/contact_form.js'|asseturl is defined and this.title == 'Kontakt' -%}
{% if '/js/contact_form.js'|asseturl is defined and this.title == 'Services' -%}
<script type="text/javascript" src="{{ '/js/contact_form.js'|asseturl }}"></script>
{%- endif %}
</body>