feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2

This commit is contained in:
Azgaar 2024-09-20 13:04:47 +02:00
parent d3ba6dd95b
commit 3d1f268003
5 changed files with 33 additions and 40 deletions

View file

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