Fixed pasting text sending the caret to the end of the post textbox (#5567)

This commit is contained in:
Harrison Healey
2017-02-28 20:51:11 -03:00
committed by enahum
parent 23be0167f4
commit df07aeeb12
+4 -2
View File
@@ -292,9 +292,11 @@ class FileUpload extends React.Component {
this.props.onUploadStart([clientId], channelId);
}
}
this.props.onFileUploadChange();
if (numToUpload > 0) {
this.props.onFileUploadChange();
}
}
}
keyUpload(e) {