diff --git a/apps/gg/script.js b/apps/gg/script.js index dd103a12..16338d7a 100644 --- a/apps/gg/script.js +++ b/apps/gg/script.js @@ -303,7 +303,7 @@ class GgAppElement extends LitElement { } if (!this.leaflet) { this.leaflet = L.map(map, {attributionControl: false, maxZoom: 16, bounceAtZoomLimits: false}); - this.leaflet.on({click: this.on_click.bind(this)}); + this.leaflet.on({contextmenu: this.on_click.bind(this)}); } let self = this; let grid_layer = L.GridLayer.extend({