Merge branch 'emoji-selector-update' into shigusegubu

* emoji-selector-update:
  fix some bugs
This commit is contained in:
Henry Jameson 2019-09-24 00:08:13 +03:00
commit 04b8e8f118
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -96,7 +96,7 @@
@keyup.ctrl.enter="postStatus(newStatus)"
@drop="fileDrop"
@dragover.prevent="fileDrag"
@keydown.exact="resize"
@input="resize"
@compositionupdate="resize"
@paste="paste"
/>