fix for frame builder chrome bug

master
thatcosmonaut 2019-10-07 17:55:58 -07:00
parent 911db00bc6
commit 29bc4cefa3
1 changed files with 2 additions and 2 deletions

View File

@ -282,9 +282,9 @@ export class Page {
const newFrames: IFrame[] = []; const newFrames: IFrame[] = [];
for (let i = 0; i < event.dataTransfer!.files.length; i++) { for (let i = 0; i < filenames.length; i++) {
newFrames.push({ newFrames.push({
filename: event.dataTransfer!.files[i].name filename: i.toString()
}); });
} }