diff --git a/frontend/common/map.js b/frontend/common/map.js index 80066ce..55d8f31 100644 --- a/frontend/common/map.js +++ b/frontend/common/map.js @@ -159,7 +159,7 @@ async function pickDirectory(e){ return; } const filename = window.prompt("Enter filename:", "test"); - if (filename === null) { + if (!filename) { return; } const dat = {type: "FeatureCollection", features: geojsons};