diff --git a/index.html b/index.html index 87449a33..a6781d14 100644 --- a/index.html +++ b/index.html @@ -8380,7 +8380,7 @@ - + @@ -8426,7 +8426,7 @@ - + diff --git a/main.js b/main.js index 4b44aaf0..0f7f5344 100644 --- a/main.js +++ b/main.js @@ -702,7 +702,7 @@ async function generate(options) { title: "Generation error", width: "32em", buttons: { - "Cleanup data": cleanupData, + "Clear cache": () => cleanupData(), Regenerate: function () { regenerateMap("generation error"); $(this).dialog("close"); diff --git a/modules/io/load.js b/modules/io/load.js index 35ebce80..79644e78 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -96,6 +96,7 @@ function showUploadErrorMessage(error, URL, random) { title: "Loading error", width: "32em", buttons: { + "Clear cache": () => cleanupData(), OK: function () { $(this).dialog("close"); } @@ -195,6 +196,7 @@ function showUploadMessage(type, mapData, mapVersion) { $("#alert").dialog({ title, buttons: { + "Clear cache": () => cleanupData(), OK: function () { $(this).dialog("close"); } @@ -745,6 +747,7 @@ async function parseLoadedData(data, mapVersion) { title: "Loading error", maxWidth: "50em", buttons: { + "Clear cache": () => cleanupData(), "Select file": function () { $(this).dialog("close"); mapToLoad.click(); diff --git a/versioning.js b/versioning.js index 3b86e7d1..a4eb0a72 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.105.8"; +const VERSION = "1.105.9"; if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function"); { @@ -58,7 +58,7 @@ if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format o width: "28em", position: {my: "center center-4em", at: "center", of: "svg"}, buttons: { - "Cleanup data": () => cleanupData(), + "Clear cache": () => cleanupData(), "Don't show again": function () { $(this).dialog("close"); localStorage.setItem("version", VERSION);