Allow shift+enter to insert new lines

This commit is contained in:
Pavel Djundik 2018-07-13 15:59:04 +03:00 committed by Pavel Djundik
parent a0f42af0d8
commit 8133805dec

View File

@ -13,7 +13,7 @@
:aria-label="getInputPlaceholder(channel)" :aria-label="getInputPlaceholder(channel)"
:disabled="!$root.connected" :disabled="!$root.connected"
class="mousetrap" class="mousetrap"
@keypress.enter.prevent="onSubmit" @keypress.enter.exact.prevent="onSubmit"
/> />
<span <span
v-if="$root.connected" v-if="$root.connected"