Skip to content

Commit

Permalink
Merge pull request #1491 from qmwd2006/patch-1
Browse files Browse the repository at this point in the history
web browser out ouf memory when upload large image file
  • Loading branch information
grossmj authored Apr 3, 2024
2 parents 6873432 + ca071f7 commit f505c10
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ export class NewTemplateDialogComponent implements OnInit {
this.progressService.activate();
};

fileReader.readAsText(file);
//fileReader.readAsText(file); //web browser out ouf memory when upload large image file
fileReader.onloadend(undefined);
}

checkImageFromVersion(image: string): boolean {
Expand Down

0 comments on commit f505c10

Please sign in to comment.