From 31f4d6c0bf95d3d73e7e057ceb9b7eb1be60558b Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 10 Mar 2017 18:12:28 +0900 Subject: [PATCH] Fix #221 --- src/web/app/desktop/tags/post-form.tag | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag index 983d35405..47fd6bf4a 100644 --- a/src/web/app/desktop/tags/post-form.tag +++ b/src/web/app/desktop/tags/post-form.tag @@ -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 => {