[Glitch] Allow multiple files upload through web UI, including drag & drop
Port 750c67660d
to glitch-soc
This commit is contained in:
@ -186,7 +186,7 @@ export default class UI extends React.Component {
|
||||
this.setState({ draggingOver: false });
|
||||
this.dragTargets = [];
|
||||
|
||||
if (e.dataTransfer && e.dataTransfer.files.length === 1) {
|
||||
if (e.dataTransfer && e.dataTransfer.files.length >= 1) {
|
||||
this.props.dispatch(uploadCompose(e.dataTransfer.files));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user