summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <vesspa0330@gmail.com>2025-07-26 11:38:23 -0400
committerSimon <vesspa0330@gmail.com>2025-07-26 11:38:23 -0400
commit209a262d572ae57b359d520c08f6494948853098 (patch)
treed8d9242948fef062d1a1ff0ea7ea93bc10706dbe
parentb4525f145e278cc698db01020341f04ff5935b62 (diff)
fixed "loadingFromSave" recognition bug
-rw-r--r--startpage.html17
1 files changed, 2 insertions, 15 deletions
diff --git a/startpage.html b/startpage.html
index 45a41a4..bb58880 100644
--- a/startpage.html
+++ b/startpage.html
@@ -630,7 +630,7 @@
return;
}
- let loadingFromSave = (x != undefined) && (y != undefined);
+ let loadingFromSave = (id != undefined);
let isImage = (imageUrl != undefined);
@@ -650,6 +650,7 @@
}
else {
numberTotalContainers++;
+ console.log("plus one numberTotalContainers (image)");
if (name == "") this.name = "image " + numberOfImageContainers;
else this.name = name;
@@ -1800,20 +1801,6 @@
containerMapValues[i].sections
));
}
-
- /**
- if (numberTotalContainers == 0) {
- new Container(
- "container-0",
- "setup help",
- "15",
- "15",
- "150",
- "100",
- undefined,
- );
- }*/
-
/** set up + load settings menu data */
settingsMenuData = JSON.parse(