diff --git a/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html b/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html index b8515d0d..2fb03bdb 100644 --- a/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html +++ b/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html @@ -28,7 +28,7 @@

als -GeoJSON. +GeoJSON.
  • als -JSON-FG. +JSON-FG.
  • diff --git a/internal/ogc/common/geospatial/templates/collection.go.html b/internal/ogc/common/geospatial/templates/collection.go.html index 8103762a..1201941b 100644 --- a/internal/ogc/common/geospatial/templates/collection.go.html +++ b/internal/ogc/common/geospatial/templates/collection.go.html @@ -12,12 +12,7 @@ } else { url = `${baseURL}?f=${format}&crs=${crs}`; } - - if (event.ctrlKey) { - window.open(url, '_blank'); - } else { - window.location.href = url; - } + window.open(url, '_blank'); } @@ -163,7 +158,7 @@

    {{ end }} {{ i18n "As" }} - {{ $formatName }}. + {{ $formatName }}. {{ end }}