diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index ac614eba4..2b0729db0 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -203,6 +203,9 @@ function send() { input.previousElementSibling.className = "fas fa-file"; input.previousElementSibling.textContent = ""; } + + image_preview.classList.add('d-none'); + image_preview.classList.remove('mr-2'); }