Skip to content
Commit 1ab7ea33 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Ignore drag and drop events if files are not involved



If a drag and drop events does not involve files the drop hint should
not be shown, and the drop event does not need to be handled either. The
drag event may not contain yet the files in its "dataTransfer.files"
property, but at least one of the types included in its
"dataTransfer.types" property will be "Files".

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent b598d6ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment