Merge pull request #15754 from nextcloud/backport/15747/stable16

[stable16] Also allow dragging below the file list
This commit is contained in:
Roeland Jago Douma 2019-05-27 22:33:54 +02:00 committed by GitHub
commit a7ec1cbc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;