forked from extern/easydiffusion
Merge pull request #529 from madrang/dragNdrop
Fixing file drag and drop.
This commit is contained in:
parent
8e57c49043
commit
d425dac499
@ -406,7 +406,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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user