diff options
| author | Henry Jameson <me@hjkos.com> | 2019-09-24 00:06:53 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-09-24 00:06:53 +0300 |
| commit | 2154152d0846877d63877dce96170da1e7d68fdd (patch) | |
| tree | e1c647750293d5bab1b2f3c7fee945e010ea8fff /src | |
| parent | 6f0257cd7df8eca257774a0c456af7218896946f (diff) | |
fix some bugs
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 | ||||
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 60cb5a9a..10e75144 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -249,7 +249,7 @@ const PostStatusForm = { return fileTypeService.fileType(fileInfo.mimetype) }, paste (e) { - this.resize() + this.resize(e) if (e.clipboardData.files.length > 0) { // prevent pasting of file as text e.preventDefault() diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 99ffeef8..d24f1981 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -96,7 +96,7 @@ @keyup.ctrl.enter="postStatus(newStatus)" @drop="fileDrop" @dragover.prevent="fileDrag" - @keydown.exact="resize" + @input="resize" @compositionupdate="resize" @paste="paste" /> |
