mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2
This commit is contained in:
parent
e671739317
commit
a385db12c0
5 changed files with 33 additions and 40 deletions
5
main.js
5
main.js
|
|
@ -677,10 +677,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