diff --git a/index.html b/index.html index ff2c1b07..e2096ff2 100644 --- a/index.html +++ b/index.html @@ -8111,7 +8111,7 @@ - + diff --git a/modules/dynamic/auto-update.js b/modules/dynamic/auto-update.js index d985c6a5..6190a243 100644 --- a/modules/dynamic/auto-update.js +++ b/modules/dynamic/auto-update.js @@ -956,4 +956,9 @@ export function resolveVersionConflicts(mapVersion) { const featurePaths = defs.select("#featurePaths"); if (!featurePaths.size()) defs.append("g").attr("id", "featurePaths"); } + + if (isOlderThan("1.105.0")) { + // v1.104.0 introduced some bugs + viewbox.select("#regions").style("display", null); + } } diff --git a/modules/io/load.js b/modules/io/load.js index a932fa98..f5da636f 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -459,7 +459,7 @@ async function parseLoadedData(data, mapVersion) { { // dynamically import and run auto-update script - const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.104.0"); + const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.104.5"); resolveVersionConflicts(mapVersion); } diff --git a/versioning.js b/versioning.js index c138741c..72298adf 100644 --- a/versioning.js +++ b/versioning.js @@ -12,7 +12,7 @@ * * Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2 */ -const VERSION = "1.104.4"; +const VERSION = "1.104.5"; if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function"); {