Tried a fix that didn't work in base.

This commit is contained in:
Michael Woods
2025-12-25 20:38:20 -05:00
parent d913674426
commit b59eafa9ca

View File

@@ -104,11 +104,12 @@
if (response.ok) { if (response.ok) {
const result = await response.json(); const result = await response.json();
let msg = 'Message sent!'; let msg = 'Message sent successfully!';
if (result.warning) msg += ` ${result.warning}`; if (result.warning) {
status.textContent = msg; msg += ' ' + result.warning;
}
status.className = 'alert alert-success'; status.className = 'alert alert-success';
status.textContent = 'Message sent successfully!'; status.textContent = msg;
status.style.display = 'block'; status.style.display = 'block';
composeForm.reset(); composeForm.reset();
setTimeout(() => { setTimeout(() => {