diff --git a/qortal-ui-plugins/plugins/core/components/ChatPage.js b/qortal-ui-plugins/plugins/core/components/ChatPage.js index 8c0d6849..f06e5bb3 100644 --- a/qortal-ui-plugins/plugins/core/components/ChatPage.js +++ b/qortal-ui-plugins/plugins/core/components/ChatPage.js @@ -654,7 +654,10 @@ class ChatPage extends LitElement { `: ''} this.removeImage()} + .removeImage=${() => { + this.chatEditorNewChat.resetValue() + this.removeImage() + } } style=${(this.imageFile && !this.isUploadingImage) ? "display: block" : "display: none"}>
@@ -673,17 +676,23 @@ class ChatPage extends LitElement { .insertImage=${this.insertImage} .editedMessageObj=${this.editedMessageObj} ?isLoading=${this.isLoading} - ?isLoadingMessages=${this.isLoadingMessages}> + ?isLoadingMessages=${this.isLoadingMessages} + id="chatTextCaption" + >