mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +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
|
|
@ -703,12 +703,6 @@ async function openTemplateSelectionDialog() {
|
|||
HeightmapSelectionDialog.open();
|
||||
}
|
||||
|
||||
// remove all saved data from LocalStorage and reload the page
|
||||
function restoreDefaultOptions() {
|
||||
localStorage.clear();
|
||||
location.reload();
|
||||
}
|
||||
|
||||
// Sticked menu Options listeners
|
||||
byId("sticked").addEventListener("click", function (event) {
|
||||
const id = event.target.id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue