Partially fixed bad send behavior.

This commit is contained in:
Michael Woods
2025-12-25 20:32:12 -05:00
parent bec626678e
commit d913674426
3 changed files with 43 additions and 9 deletions

View File

@@ -103,6 +103,10 @@
});
if (response.ok) {
const result = await response.json();
let msg = 'Message sent!';
if (result.warning) msg += ` ${result.warning}`;
status.textContent = msg;
status.className = 'alert alert-success';
status.textContent = 'Message sent successfully!';
status.style.display = 'block';