diff options
| author | xenofem <xenofem@xeno.science> | 2020-06-28 16:05:22 -0400 |
|---|---|---|
| committer | xenofem <xenofem@xeno.science> | 2020-06-28 16:05:22 -0400 |
| commit | 529d72c2970a7eff46cc83e9a8465d8eec8a5dec (patch) | |
| tree | c0688f28fbabed73f2b0a8bbe55d31a6deef3469 | |
| parent | 03aa1f315406a238eb1cea6b9cc64abf1567b978 (diff) | |
suppress enter key on media description input field
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 49291455..76fa30d8 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -270,6 +270,7 @@ v-model="newStatus.mediaDescriptions[file.id]" type="text" :placeholder="$t('post_status.media_description')" + @keydown.enter.prevent="" > </div> </div> |
