mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-03-12 01:22:48 +00:00
Fix clicking on map crashing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
18ceeb450a
commit
ef26f1a684
1 changed files with 3 additions and 1 deletions
|
@ -142,7 +142,9 @@ export default class Map extends Vue {
|
|||
}
|
||||
|
||||
updateDraggableMarkerPosition(e: LatLng): void {
|
||||
this.updateDraggableMarkerCallback(e, this.zoom);
|
||||
if (this.updateDraggableMarkerCallback) {
|
||||
this.updateDraggableMarkerCallback(e, this.zoom);
|
||||
}
|
||||
}
|
||||
|
||||
updateZoom(zoom: number): void {
|
||||
|
|
Loading…
Add table
Reference in a new issue