diff --git a/index.html b/index.html index 18e67866..44406fde 100644 --- a/index.html +++ b/index.html @@ -8005,7 +8005,7 @@ - + diff --git a/modules/io/load.js b/modules/io/load.js index 037675d7..969cd80b 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -408,7 +408,7 @@ async function parseLoadedData(data) { if (hasChildren(statesBody)) turnOn("toggleStates"); if (hasChildren(provs)) turnOn("toggleProvinces"); if (hasChildren(zones) && notHidden(zones)) turnOn("toggleZones"); - if (notHidden(borders) && hasChild(compass, "use")) turnOn("toggleBorders"); + if (notHidden(borders) && hasChild(borders, "path")) turnOn("toggleBorders"); if (notHidden(routes) && hasChild(routes, "path")) turnOn("toggleRoutes"); if (hasChildren(temperature)) turnOn("toggleTemp"); if (hasChild(population, "line")) turnOn("togglePopulation"); diff --git a/versioning.js b/versioning.js index b1eed58b..cb55079b 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.91.02"; // generator version, update each time +const version = "1.91.03"; // generator version, update each time { document.title += " v" + version;