1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Fixed regression when drag and dropping files

This commit is contained in:
Laurent Cozic 2020-04-02 23:01:14 +01:00
parent 27ab2b8e30
commit 0512fa6208

View File

@ -217,10 +217,9 @@ function shimInit() {
let resource = null;
if (!options.createFileURL) {
resource = await shim.createResourceFromPath(filePath, null, options);
if (!resource) return null;
}
if (!resource) return null;
const newBody = [];
if (position === null) {