initial html loop fix names

This commit is contained in:
ReznoRMichael 2021-02-10 02:18:02 +01:00
parent 5cef8aad18
commit 8552a89f8a
3 changed files with 14 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -1079,7 +1079,7 @@ function InitialHTMLPopulate(divIdObj) {
// Looped filling to reduce redundancy // Looped filling to reduce redundancy
do { do {
for (let parameter in hkObjArray[0]) { for (let parameter in hkObjArray[0]) {
FillHTML(divObjArray[0], hkObjArray[0][parameter][0], hkObjArray[0][parameter][1]); FillHTML(divObjArray[0], hkObjArray[0][parameter].name, hkObjArray[0][parameter].spoiler);
} }
divObjArray.shift(); divObjArray.shift();
} while (hkObjArray.shift()); } while (hkObjArray.shift());

View file

@ -13,7 +13,7 @@ require("../css/style.css");
require("../img/thumbnail1200x628.jpg"); require("../img/thumbnail1200x628.jpg");
// Instantly load test save file from .json (fast Debugging script) // Instantly load test save file from .json (fast Debugging script)
// require("./LoadJson.js"); require("./LoadJson.js");
// Load Save File for opening files, decoding, decryption // Load Save File for opening files, decoding, decryption
require("./LoadSaveFile.js"); require("./LoadSaveFile.js");