Skip to content

Commit fd77d4b

Browse files
save file
1 parent 4fd883d commit fd77d4b

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

utils/misc/hash-generator/v2.0/hash-generator-v2.0.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@
117117
menu.on.close = null;
118118

119119

120-
initdom(document.body);
120+
await initdom(document.body);
121121

122122

123+
hdr.complete();
124+
123125

124126
}//init
125127

@@ -520,16 +522,19 @@
520522

521523
root = rootnode;
522524

523-
hdr.initdom();
524-
hdr.set.version(version);
525+
await Promise.all([
526+
hdr.initdom(),
527+
filemod.initdom(),
528+
filename.initdom(),
529+
editor.initdom(root),
530+
log.initdom(root),
531+
]);
525532

526533

527-
chk = $.chkbox.group(root,'#file-hdr .chk-root','#text-hdr .chk-root');
528-
filemod.initdom(root);
529-
filename.initdom(root);
534+
hdr.set.version(version);
530535

531536

532-
editor.initdom(root);
537+
chk = $.chkbox.group(root,'#file-hdr .chk-root','#text-hdr .chk-root');
533538

534539

535540

@@ -582,7 +587,6 @@
582587

583588

584589

585-
log.initdom(root);
586590

587591

588592
blob.display();

0 commit comments

Comments
 (0)