single horizontal line at the bottom
This commit is contained in:
parent
cb338577fd
commit
6806c64104
3 changed files with 23 additions and 39 deletions
16
build/app.js
16
build/app.js
|
|
@ -7481,17 +7481,6 @@ function GenerateInnerHTML(db) {
|
|||
/* textFill += SingleEntryFill(section, entries[entry]); */
|
||||
|
||||
textFill += SingleEntryFill(obj);
|
||||
/* ##################### Horizontal lines ####################### */
|
||||
|
||||
switch (_entry) {
|
||||
case "pantheonKnight":
|
||||
case "bossDoorStateTier5":
|
||||
case "VoidIdol_3":
|
||||
case "greyPrinceDefeats":
|
||||
case "ordealAchieved":
|
||||
textFill += FLEUR_DIVIDE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* end for (let entry in entries) */
|
||||
|
|
@ -7526,9 +7515,12 @@ function GenerateInnerHTML(db) {
|
|||
console.log(finalHTMLFill);
|
||||
console.groupEnd(); */
|
||||
|
||||
/* --------------- Final single HTML access and fill here ------------------ */
|
||||
/* ##################### Horizontal line ####################### */
|
||||
|
||||
|
||||
finalHTMLFill += FLEUR_DIVIDE;
|
||||
/* --------------- Final single HTML access and fill here ------------------ */
|
||||
|
||||
document.getElementById("generated").innerHTML = finalHTMLFill;
|
||||
/* make tab switch buttons working (on click) - must run after inner HTML generation is finished */
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -534,18 +534,6 @@ function GenerateInnerHTML(db) {
|
|||
/* textFill += SingleEntryFill(section, entries[entry]); */
|
||||
textFill += SingleEntryFill(obj);
|
||||
|
||||
/* ##################### Horizontal lines ####################### */
|
||||
|
||||
switch (entry) {
|
||||
case "pantheonKnight":
|
||||
case "bossDoorStateTier5":
|
||||
case "VoidIdol_3":
|
||||
case "greyPrinceDefeats":
|
||||
case "ordealAchieved":
|
||||
textFill += FLEUR_DIVIDE;
|
||||
|
||||
break;
|
||||
}
|
||||
} /* end for (let entry in entries) */
|
||||
} /* end switch (section) - central */
|
||||
|
||||
|
|
@ -576,13 +564,17 @@ function GenerateInnerHTML(db) {
|
|||
console.log(finalHTMLFill);
|
||||
console.groupEnd(); */
|
||||
|
||||
/* ##################### Horizontal line ####################### */
|
||||
|
||||
finalHTMLFill += FLEUR_DIVIDE;
|
||||
|
||||
/* --------------- Final single HTML access and fill here ------------------ */
|
||||
|
||||
document.getElementById("generated").innerHTML = finalHTMLFill;
|
||||
|
||||
/* make tab switch buttons working (on click) - must run after inner HTML generation is finished */
|
||||
|
||||
document.querySelectorAll(".tab-switch").forEach( (button) => {
|
||||
document.querySelectorAll(".tab-switch").forEach((button) => {
|
||||
|
||||
button.addEventListener("click", (e) => {
|
||||
PageSwitchTab(e.target.name);
|
||||
|
|
@ -874,7 +866,7 @@ function CheckboxSpoilersToggle(param = "none") {
|
|||
* Hides all other tabs, except the one which button was clicked (shows only the chosen tab)
|
||||
* @param {String} clickedButton The click target (button clicked)
|
||||
*/
|
||||
function PageSwitchTab(clickedButton) {
|
||||
function PageSwitchTab(clickedButton) {
|
||||
|
||||
let sectionList = document.querySelectorAll(".large-section");
|
||||
let buttonList = document.querySelectorAll(".tab-switch");
|
||||
|
|
|
|||
Loading…
Reference in a new issue