Merge pull request #529 from madrang/dragNdrop

Fixing file drag and drop.
This commit is contained in:
cmdr2 2022-11-22 21:56:07 +05:30 committed by GitHub
commit d056459e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -408,7 +408,7 @@ async function parseContent(text) {
}
async function readFile(file, i) {
console.log(`Event %o reading file[${i}]:${file.name}...`, e)
console.log(`Event %o reading file[${i}]:${file.name}...`)
const fileContent = (await file.text()).trim()
return await parseContent(fileContent)
}