From ae53687b01bb004ce29c0e130a8fbb9557d486bb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Mar 2017 16:35:07 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/desktop/tags/drive/folder.tag | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/web/app/desktop/tags/drive/folder.tag b/src/web/app/desktop/tags/drive/folder.tag index 1b804e97a1..1fd6fd17c7 100644 --- a/src/web/app/desktop/tags/drive/folder.tag +++ b/src/web/app/desktop/tags/drive/folder.tag @@ -92,7 +92,8 @@ return false; }; - this.ondragenter = () => { + this.ondragenter = e => { + e.preventDefault(); if (!this.isDragging) this.draghover = true; }; @@ -101,6 +102,7 @@ }; this.ondrop = e => { + e.preventDefault(); e.stopPropagation(); this.draghover = false;