formatting
This commit is contained in:
parent
b682f4723b
commit
d699a50116
3 changed files with 7 additions and 7 deletions
|
|
@ -4746,10 +4746,10 @@ function GenerateInnerHTML(hkdb) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
/* Cumulate all texts into one variable for final HTML filling */
|
/* Cumulate all section texts into one variable for final HTML filling. End div tag */
|
||||||
|
|
||||||
|
|
||||||
finalHTMLFill += textFill;
|
finalHTMLFill += "".concat(textFill, "</div>\n");
|
||||||
}
|
}
|
||||||
/* Final HTML Fill here */
|
/* Final HTML Fill here */
|
||||||
|
|
||||||
|
|
@ -4806,7 +4806,7 @@ function CompletionFill(section) {
|
||||||
fillText = "<div class='percent-box".concat(cl, "'>").concat(section.id === "hk-intro" ? cp : cp + section.maxPercent, "%</div>");
|
fillText = "<div class='percent-box".concat(cl, "'>").concat(section.id === "hk-intro" ? cp : cp + section.maxPercent, "%</div>");
|
||||||
}
|
}
|
||||||
|
|
||||||
return "".concat(h2id).concat(h2).concat(fillText, "</h2>\n");
|
return "\t".concat(h2id).concat(h2).concat(fillText, "</h2>\n");
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Adds HTML string to an element with a given ID.
|
* Adds HTML string to an element with a given ID.
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -201,8 +201,8 @@ function GenerateInnerHTML(hkdb) {
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Cumulate all texts into one variable for final HTML filling */
|
/* Cumulate all section texts into one variable for final HTML filling. End div tag */
|
||||||
finalHTMLFill += textFill;
|
finalHTMLFill += `${textFill}</div>\n`;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -266,7 +266,7 @@ function SectionStart(section) {
|
||||||
fillText = `<div class='percent-box${cl}'>${(section.id === "hk-intro") ? cp: cp + section.maxPercent}%</div>`;
|
fillText = `<div class='percent-box${cl}'>${(section.id === "hk-intro") ? cp: cp + section.maxPercent}%</div>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${h2id}${h2}${fillText}</h2>\n`;
|
return `\t${h2id}${h2}${fillText}</h2>\n`;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue