diff options
| author | sobadon <sbdn@chasoba.net> | 2020-10-09 14:22:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-09 14:22:32 +0900 |
| commit | a40f38b2b587e23f59437c13a8bf45807bb26d68 (patch) | |
| tree | 3ccf76154c5cc3f658d7c4e68ae28da1504b7406 /src/client | |
| parent | /streamingに非WebSocketリクエストが来るとおかしくなるのを... (diff) | |
| download | sharkey-a40f38b2b587e23f59437c13a8bf45807bb26d68.tar.gz sharkey-a40f38b2b587e23f59437c13a8bf45807bb26d68.tar.bz2 sharkey-a40f38b2b587e23f59437c13a8bf45807bb26d68.zip | |
CW の input でも投稿ショートカットが動作するように (#6690)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/components/post-form.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 031246e73a..a0d2cd153c 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -33,7 +33,7 @@ <button @click="addVisibleUser" class="_buttonPrimary"><fa :icon="faPlus" fixed-width/></button> </div> </div> - <input v-show="useCw" ref="cw" class="cw" v-model="cw" :placeholder="$t('annotation')" v-autocomplete="{ model: 'cw' }"> + <input v-show="useCw" ref="cw" class="cw" v-model="cw" :placeholder="$t('annotation')" v-autocomplete="{ model: 'cw' }" @keydown="onKeydown"> <textarea v-model="text" class="text" :class="{ withCw: useCw }" ref="text" :disabled="posting" :placeholder="placeholder" v-autocomplete="{ model: 'text' }" @keydown="onKeydown" @paste="onPaste"></textarea> <x-post-form-attaches class="attaches" :files="files"/> <x-poll-editor v-if="poll" ref="poll" @destroyed="poll = false" @updated="onPollUpdate()"/> |