feat: allow to crean data in case of load error

This commit is contained in:
Azgaar 2024-10-01 21:20:29 +02:00
parent 80da2f0cda
commit 2d0030e3d4
4 changed files with 8 additions and 5 deletions

View file

@ -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);