diff --git a/qortal-ui-plugins/plugins/core/components/ChatPage.js b/qortal-ui-plugins/plugins/core/components/ChatPage.js index fdfed413..572cc80e 100644 --- a/qortal-ui-plugins/plugins/core/components/ChatPage.js +++ b/qortal-ui-plugins/plugins/core/components/ChatPage.js @@ -507,6 +507,7 @@ class ChatPage extends LitElement { constructor() { super() + this.changeMsgInput = this.changeMsgInput.bind(this) this.getOldMessage = this.getOldMessage.bind(this) this._sendMessage = this._sendMessage.bind(this) this.insertImage = this.insertImage.bind(this) @@ -541,6 +542,7 @@ class ChatPage extends LitElement { } render() { + console.log(this.chatMessageInput, 'chatmsginput') return html`
@@ -563,6 +565,7 @@ class ChatPage extends LitElement { id="showDialogPublicKey" ?open=${this.imageFile} @closed=${() => { + this.changeMsgInput('_chatEditorDOM') this.chatEditor.enable(); this.caption = ""; this.imageFile = null; @@ -574,7 +577,10 @@ class ChatPage extends LitElement { `}
- + +
${this.isLoading === false ? html`