kopia lustrzana https://github.com/nextcloud/social
FIX: Hitting 'Enter' without the shift key pressed should not post
the message Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/785/head
rodzic
a9c9f6dd45
commit
18f1def34e
|
|
@ -49,7 +49,7 @@
|
|||
<vue-tribute :options="tributeOptions">
|
||||
<!-- eslint-disable-next-line vue/valid-v-model -->
|
||||
<div ref="composerInput" v-contenteditable:post.dangerousHTML="canType && !loading" class="message"
|
||||
placeholder="What would you like to share?" :class="{'icon-loading': loading}" @keyup.enter="keyup"
|
||||
placeholder="What would you like to share?" :class="{'icon-loading': loading}" @keyup.prevent.enter="keyup"
|
||||
@tribute-replaced="updatePostFromTribute" />
|
||||
</vue-tribute>
|
||||
<emoji-picker ref="emojiPicker" :search="search" class="emoji-picker-wrapper"
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue