change text-color for notification

This commit is contained in:
bettina 2025-01-07 09:14:11 +01:00
commit bdad95b406

View file

@ -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