Compare commits

..

No commits in common. "1e34d056dd1ce6b29ff1c8321112cb4b24a39689" and "888dfde1d2db3923144a04007db05b2247b7d301" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ function handleSubmit(e) {
if (data.success) {
submitButton.style.display = 'none'
notification.innerHTML = `<span>${currentMessages.thankyou}</span>`
notification.className = 'bg-green-500 text-black px-4 py-2 rounded block'
notification.className = 'bg-green-500 text-white px-4 py-2 rounded block'
} else {
submitButton.style.display = 'none'
notification.textContent = data.message

View file

@ -168,7 +168,7 @@ bestellformular = true
{{< captcha >}}
<button id="bestellformular-btn" type="submit" class="submitbutton text-white mx-auto submit-after-valid-captcha" >Kostenpflichtig bestellen</button>
<p><div id="notification" class="bg-blue-500 text-white rounded invisible opacity-0 hidden">Notification</div></p>
<p><div id="notification" class="bg-blue-500 text-black rounded invisible opacity-0 hidden">Notification</div></p>
</center>
</form>