diff --git a/modules/ui/heightmap-editor.js b/modules/ui/heightmap-editor.js index c9fe62a5..62295ed4 100644 --- a/modules/ui/heightmap-editor.js +++ b/modules/ui/heightmap-editor.js @@ -62,7 +62,7 @@ function editHeightmap() { } else if (type === "risk") { terrs.attr("mask", null); defs.selectAll("#land, #water").selectAll("path").remove(); - viewbox.selectAll("#coastline *, #lakes *, #oceanLayers path").remove(); + viewbox.selectAll("#coastline path, #lakes path, #oceanLayers path").remove(); changeOnlyLand.checked = false; } @@ -1187,4 +1187,4 @@ function getHeight(h) { } } -} \ No newline at end of file +}