comments
This commit is contained in:
parent
71b943151f
commit
e2b83b1a49
1 changed files with 4 additions and 1 deletions
|
|
@ -148,9 +148,10 @@ function GenerateInnerHTML(hkdb) {
|
||||||
|
|
||||||
for (let section in sections) {
|
for (let section in sections) {
|
||||||
|
|
||||||
/* creates a h2 tag for the current section and fills with current%/max% */
|
/* creates a <h2> tag for the current section and fills with current%/max% */
|
||||||
textFill = CompletionFill(sections[section]);
|
textFill = CompletionFill(sections[section]);
|
||||||
|
|
||||||
|
/* create all main entries */
|
||||||
switch (section) {
|
switch (section) {
|
||||||
|
|
||||||
case "intro":
|
case "intro":
|
||||||
|
|
@ -161,10 +162,12 @@ function GenerateInnerHTML(hkdb) {
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Cumulate all texts into one variable for final HTML filling */
|
||||||
finalHTMLFill += textFill;
|
finalHTMLFill += textFill;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Final HTML Fill here */
|
||||||
console.log(finalHTMLFill);
|
console.log(finalHTMLFill);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue