mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2
This commit is contained in:
parent
d3ba6dd95b
commit
3d1f268003
5 changed files with 33 additions and 40 deletions
5
main.js
5
main.js
|
|
@ -666,10 +666,7 @@ async function generate(options) {
|
|||
title: "Generation error",
|
||||
width: "32em",
|
||||
buttons: {
|
||||
"Clear data": function () {
|
||||
localStorage.clear();
|
||||
localStorage.setItem("version", VERSION);
|
||||
},
|
||||
"Cleanup data": cleanupData,
|
||||
Regenerate: function () {
|
||||
regenerateMap("generation error");
|
||||
$(this).dialog("close");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue