Skip to content

Commit 8aed791

Browse files
save file
1 parent 30e6b42 commit 8aed791

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

utils/misc/zip/zip.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@
129129

130130

131131

132-
initdom(document.body);
132+
await initdom(document.body);
133133

134+
hdr.complete();
134135

135136

136137
}//init
@@ -227,7 +228,7 @@
227228

228229

229230
<misc-hdr component=grp>
230-
<img slot=title class=title src='images/zip.png' style='top:-15px;height:80px'>
231+
<img slot=title class=title src='images/zip.png' style='top:-15px;height:60px'>
231232
<time slot=date datetime=2026-04-18>
232233
18 Apr 2026
233234
</time>
@@ -335,22 +336,27 @@
335336

336337
root = rootnode;
337338

339+
await Promise.all([
340+
hdr.initdom(),
341+
filemod.initdom(),
342+
add.file.initdom(),
343+
save.file.initdom(),
344+
filenav.initdom(),
345+
log.initdom(),
346+
]);
347+
338348

339-
hdr.initdom();
340-
hdr.set.version(version);
349+
//hdr.set.version(version);
341350

342351

343352

344-
filemod.initdom();
345353

346354

347355
info = $(root,'#info');
348356
ui.info();
349357

350358

351359
add.root = $(root,'#add');
352-
add.file.initdom();
353-
save.file.initdom();
354360

355361
$(root,'[value=save]').onclick = btn.save;
356362
$(root,'[value="list files"]').onclick = btn['list-files'];
@@ -360,10 +366,6 @@
360366

361367

362368

363-
filenav.initdom();
364-
365-
366-
log.initdom();
367369

368370

369371

0 commit comments

Comments
 (0)