Skip to content

Commit b0cc98e

Browse files
save file
1 parent 6383119 commit b0cc98e

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

utils/misc/fetch/fetch.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@
9999
//menumod.on.close = focus;
100100

101101

102-
initdom(document.body);
102+
await initdom(document.body);
103+
104+
105+
hdr.complete();
103106

104107

105108
}//init
@@ -341,7 +344,7 @@
341344
//:
342345

343346

344-
function initdom(rootnode){
347+
async function initdom(rootnode){
345348

346349
root = rootnode;
347350

@@ -363,10 +366,10 @@
363366
hdrs.item.remove();
364367

365368

366-
filemod.initdom(root);
367-
368-
369-
log.initdom(root);
369+
await Promise.all([
370+
filemod.initdom(),
371+
log.initdom(),
372+
]);
370373

371374

372375
}//initdom

0 commit comments

Comments
 (0)