We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a221ac6 commit b8e31d6Copy full SHA for b8e31d6
src/lib/Room/Room.vue
@@ -792,6 +792,7 @@ export default {
792
this.videoFile = null
793
this.editedMessage.file = null
794
this.file = null
795
+ this.resetTextareaSize()
796
this.focusTextarea()
797
},
798
resetTextareaSize() {
@@ -949,7 +950,7 @@ export default {
949
950
951
if (items) {
952
items.forEach(item => {
- if (item.type.indexOf('image') !== -1) {
953
+ if (item.type.includes('image')) {
954
const blob = item.getAsFile()
955
this.onFileChange([blob])
956
}
0 commit comments