Tried a fix that didn't work in base.
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user