mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-04 23:10:11 +01:00
Merge pull request #228 from jordyjordy/fix-multitool-filemixing
await pdf creation in each for loop.
This commit is contained in:
commit
d5c1c43eb1
@ -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 New Issue
Block a user