simplified code

This commit is contained in:
Antonia 2025-03-12 14:58:37 +01:00
parent 906605feae
commit 16beaaf071

View file

@ -159,7 +159,7 @@ async function pickDirectory(e){
return; return;
} }
const filename = window.prompt("Enter filename:", "test"); const filename = window.prompt("Enter filename:", "test");
if (filename === null) { if (!filename) {
return; return;
} }
const dat = {type: "FeatureCollection", features: geojsons}; const dat = {type: "FeatureCollection", features: geojsons};