Skip to content
Snippets Groups Projects
Commit 2154152d authored by HJ's avatar HJ :fire:
Browse files

fix some bugs

parent 6f0257cd
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!895Emoji selector update
Pipeline #17519 failed
......@@ -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()
......
......@@ -96,7 +96,7 @@
@keyup.ctrl.enter="postStatus(newStatus)"
@drop="fileDrop"
@dragover.prevent="fileDrag"
@keydown.exact="resize"
@input="resize"
@compositionupdate="resize"
@paste="paste"
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment