await pdf creation in each for loop.
This commit is contained in:
parent
e2a787e519
commit
7e9479806e
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class PdfContainer {
|
|||
const files = e.target.files;
|
||||
this.fileName = files[0].name;
|
||||
for (var i=0; i < files.length; i++) {
|
||||
this.addPdfFile(files[i], nextSiblingElement);
|
||||
await this.addPdfFile(files[i], nextSiblingElement);
|
||||
}
|
||||
|
||||
document.querySelectorAll(".enable-on-file").forEach(element => {
|
||||
|
|
Loading…
Reference in a new issue