forked from MarseyWorld/MarseyWorld
make the image preview go away when sending
parent
776662a5db
commit
5528299c69
|
@ -203,6 +203,9 @@ function send() {
|
||||||
input.previousElementSibling.className = "fas fa-file";
|
input.previousElementSibling.className = "fas fa-file";
|
||||||
input.previousElementSibling.textContent = "";
|
input.previousElementSibling.textContent = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
image_preview.classList.add('d-none');
|
||||||
|
image_preview.classList.remove('mr-2');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue