diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/osm_controller.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/osm_controller.js index fd36532d..47f6f49d 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/osm_controller.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/osm_controller.js @@ -36,15 +36,9 @@ export default class extends Controller { for (let item of this.markersValue) { const position = L.latLng(item.lat, item.lng) const marker = L.marker(position) - if (item.externalLink) { - marker.on('click', () => { - window.open(item.externalLink, '_blank') - }) - } else { - const popupContent = '
' - marker.bindPopup(popupContent) - } + const popupContent = '' + marker.bindPopup(popupContent) marker.addTo(this.map) bounds.extend(position) } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Facts.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Facts.html index 33fe0a16..6df03a52 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Facts.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Facts.html @@ -8,7 +8,7 @@