Compare commits
2 commits
888dfde1d2
...
1e34d056dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e34d056dd | ||
|
|
bdad95b406 |
2 changed files with 2 additions and 2 deletions
|
|
@ -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-white px-4 py-2 rounded block'
|
||||
notification.className = 'bg-green-500 text-black px-4 py-2 rounded block'
|
||||
} else {
|
||||
submitButton.style.display = 'none'
|
||||
notification.textContent = data.message
|
||||
|
|
|
|||
|
|
@ -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-black rounded invisible opacity-0 hidden">Notification</div></p>
|
||||
<p><div id="notification" class="bg-blue-500 text-white rounded invisible opacity-0 hidden">Notification</div></p>
|
||||
</center>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue