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) {
const result = await response.json();
let msg = 'Message sent!';
if (result.warning) msg += ` ${result.warning}`;
status.textContent = msg;
let msg = 'Message sent successfully!';
if (result.warning) {
msg += ' ' + result.warning;
}
status.className = 'alert alert-success';
status.textContent = 'Message sent successfully!';
status.textContent = msg;
status.style.display = 'block';
composeForm.reset();
setTimeout(() => {