[Client] Fix bug

This commit is contained in:
syuilo 2017-03-11 16:35:07 +09:00
parent 6aaa579810
commit ae53687b01
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,8 @@
return false; return false;
}; };
this.ondragenter = () => { this.ondragenter = e => {
e.preventDefault();
if (!this.isDragging) this.draghover = true; if (!this.isDragging) this.draghover = true;
}; };
@ -101,6 +102,7 @@
}; };
this.ondrop = e => { this.ondrop = e => {
e.preventDefault();
e.stopPropagation(); e.stopPropagation();
this.draghover = false; this.draghover = false;