Skip to content
Snippets Groups Projects
Commit 31f4d6c0 authored by syuilo's avatar syuilo
Browse files

Fix #221

parent 268a4f44
No related branches found
No related tags found
No related merge requests found
......@@ -359,10 +359,10 @@
};
this.ondragover = e => {
e.preventDefault();
e.stopPropagation();
this.draghover = true;
e.dataTransfer.dropEffect = e.dataTransfer.effectAllowed == 'all' ? 'copy' : 'move';
return false;
};
this.ondragenter = e => {
......@@ -382,8 +382,6 @@
if (e.dataTransfer.files.length > 0) {
e.dataTransfer.files.forEach(this.upload);
}
return false;
};
this.onkeydown = e => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment