about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features
diff options
context:
space:
mode:
authorpluralcafe-docker <git@plural.cafe>2019-01-16 19:42:48 +0000
committerpluralcafe-docker <git@plural.cafe>2019-01-16 19:42:48 +0000
commitd899138556513c8a5fa3397606ecc4752b7c6785 (patch)
tree043d220748575a444b8628d8c4bf2e5225a92a00 /app/javascript/flavours/glitch/features
parenta6e0ff72f552dc172c18f5a10bbca071b067ab51 (diff)
parentfb7ec403227690f897a9a693f2461b94bf7e2582 (diff)
Merge branch 'master' into production
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r--app/javascript/flavours/glitch/features/ui/index.js1
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));