summaryrefslogtreecommitdiff
path: root/resources/views/modules/pedigree-map/chart.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/modules/pedigree-map/chart.phtml')
-rw-r--r--resources/views/modules/pedigree-map/chart.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/views/modules/pedigree-map/chart.phtml b/resources/views/modules/pedigree-map/chart.phtml
index 85f9d89d6f..2660991c0e 100644
--- a/resources/views/modules/pedigree-map/chart.phtml
+++ b/resources/views/modules/pedigree-map/chart.phtml
@@ -110,6 +110,7 @@ use Fisharebest\Webtrees\View;
// Activate marker popup when sidebar entry clicked
sidebar.addEventListener('click', (e) => {
if (e.target.matches('[data-wt-sosa]')) {
+ e.preventDefault();
map.closePopup();
let marker = markers.getLayers().filter(function (v) {