Success Nachricht geändert in "Bestellformular erfolgreich gesendet."

This commit is contained in:
Andreas Hnida 2024-02-23 07:09:34 +00:00
commit 4b49300a47

View file

@ -60,7 +60,8 @@ window.onload = function () {
})
.then(data => {
// Erfolgsnachricht anzeigen
notification.textContent = 'Nachricht erfolgreich gesendet!';
// TODO Nachricht anpassen wenn französische Version
notification.textContent = 'Bestellformular erfolgreich gesendet!';
btn.className = 'submitbutton text-white mx-auto submit-after-valid-captchaaaa fadeOut';
setTimeout(() => {
btn.style.visibility = 'hidden';