From 8b775e6895a653a6aa824ef44fa67a865f3c73f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Mon, 27 May 2019 13:00:45 +0200 Subject: [PATCH] Also allow dragging below the file list MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files/js/filelist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index ea4ea6e1956..306417230f1 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3352,6 +3352,7 @@ && !self.$el.is(dropTarget) // dropped on list directly && !self.$el.has(dropTarget).length // dropped inside list && !dropTarget.is(self.$container) // dropped on main container + && !self.$el.parent().is(dropTarget) // drop on the parent container (#app-content) since the main container might not have the full height ) { e.preventDefault(); return false; -- 2.39.5