fix drag and drop in the drive

This commit is contained in:
ansuz 2022-01-06 13:31:04 +05:30
parent a53d35421d
commit 0044d016c3

View file

@ -1995,7 +1995,10 @@ define([
return f;
}).filter(Boolean);
// Continue only with the files
return void onFileDrop(fileDrop, ev);
// if there are no files, fall through to other handlers
if (fileDrop.length) {
return void onFileDrop(fileDrop, ev);
}
}
var oldPaths = JSON.parse(data).path;