diff options
author | ThibG <thib@sitedethib.com> | 2019-01-16 16:28:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-16 16:28:38 +0100 |
commit | 530d29148ca0c5bf29f6fa516b1ef4f91d95894b (patch) | |
tree | e074e7b778e973b12e754d939cc5e2805eb012d6 /app/javascript/flavours/glitch/features | |
parent | 077639c27409f897e87522dd18a51801b6cbc40d (diff) | |
parent | 5684cd090caec27729d78c204911348a0cf62cbf (diff) |
Merge pull request #887 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js index f043f767e..7928dfe6c 100644 --- a/app/javascript/flavours/glitch/features/ui/index.js +++ b/app/javascript/flavours/glitch/features/ui/index.js @@ -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)); |