change text-color for notification
This commit is contained in:
parent
888dfde1d2
commit
bdad95b406
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ function handleSubmit(e) {
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
submitButton.style.display = 'none'
|
submitButton.style.display = 'none'
|
||||||
notification.innerHTML = `<span>${currentMessages.thankyou}</span>`
|
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 {
|
} else {
|
||||||
submitButton.style.display = 'none'
|
submitButton.style.display = 'none'
|
||||||
notification.textContent = data.message
|
notification.textContent = data.message
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue