Skip to content

Commit

Permalink
remove e.stopPropagation and popup handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspk06 committed Jun 27, 2024
1 parent 5b96c9e commit e18db9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ui/RadarMarker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ class RadarMarker extends maplibregl.Marker {
const element = this.getElement();
if (element) {
element.addEventListener('click', (e) => {
e.stopPropagation(); // stop propagation to map
if (this._popup) {
this.togglePopup();
}
this.fire('click', e);
});
}
Expand Down

0 comments on commit e18db9c

Please sign in to comment.