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:
parent
27ab2b8e30
commit
0512fa6208
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user