mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 16:48:01 -05:00
Fix missing popup
This commit is contained in:
@@ -235,7 +235,7 @@ export function addHighlightOnHover(polylineGroup, map, polylineCoordinates, use
|
||||
hoverPopup = L.popup()
|
||||
.setLatLng(e.latlng)
|
||||
.setContent(popupContent)
|
||||
.openOn(map);
|
||||
.addTo(map);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ export function addHighlightOnHover(polylineGroup, map, polylineCoordinates, use
|
||||
hoverPopup = L.popup()
|
||||
.setLatLng(e.latlng)
|
||||
.setContent(popupContent)
|
||||
.openOn(map);
|
||||
.addTo(map);
|
||||
|
||||
// Prevent the click event from propagating to the map
|
||||
L.DomEvent.stopPropagation(e);
|
||||
|
||||
Reference in New Issue
Block a user