feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2

This commit is contained in:
Azgaar 2024-09-20 13:04:47 +02:00 committed by sofronaspe
parent e671739317
commit a385db12c0
5 changed files with 33 additions and 40 deletions

View file

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