[Glitch] make draggingOver state off correctly
Port d6433b3931
to glitch-soc
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
92830029ca
commit
5684cd090c
|
@ -182,6 +182,7 @@ export default class UI extends React.Component {
|
|||
e.preventDefault();
|
||||
|
||||
this.setState({ draggingOver: false });
|
||||
this.dragTargets = [];
|
||||
|
||||
if (e.dataTransfer && e.dataTransfer.files.length === 1) {
|
||||
this.props.dispatch(uploadCompose(e.dataTransfer.files));
|
||||
|
|
Loading…
Reference in New Issue