Merge pull request #4055 from thelounge/xpaw/enterkeyhint

Add enterkeyhint on chat input and topic save
This commit is contained in:
Pavel Djundik 2020-08-31 13:14:24 +03:00 committed by GitHub
commit 27b3e50a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@
:value="channel.topic"
class="topic-input"
placeholder="Set channel topic"
enterkeyhint="done"
@keyup.enter="saveTopic"
@keyup.esc="channel.editTopic = false"
/>

View File

@ -7,6 +7,7 @@
ref="input"
dir="auto"
class="mousetrap"
enterkeyhint="send"
:value="channel.pendingMessage"
:placeholder="getInputPlaceholder(channel)"
:aria-label="getInputPlaceholder(channel)"