From 31a9da09b225e5a1c7faffbd756e41c021e7fa07 Mon Sep 17 00:00:00 2001 From: Tawfiek Date: Fri, 30 Apr 2021 04:15:11 +0200 Subject: [PATCH] UI: add enterkeyhint end into the MessageComposer --- src/platform/web/ui/session/room/MessageComposer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/web/ui/session/room/MessageComposer.js b/src/platform/web/ui/session/room/MessageComposer.js index 8da69478..95f48747 100644 --- a/src/platform/web/ui/session/room/MessageComposer.js +++ b/src/platform/web/ui/session/room/MessageComposer.js @@ -28,6 +28,7 @@ export class MessageComposer extends TemplateView { render(t, vm) { this._input = t.input({ placeholder: vm.isEncrypted ? "Send an encrypted messageā€¦" : "Send a messageā€¦", + enterkeyhint: 'send', onKeydown: e => this._onKeyDown(e), onInput: () => vm.setInput(this._input.value), });