5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 15:51:41 +00:00

no intentar descargar el mapa

This commit is contained in:
f 2022-02-11 13:57:53 -03:00
parent 05fba76ab8
commit 53ce970bb0

View file

@ -14,9 +14,6 @@ export default class extends Controller {
static targets = [ 'lat', 'lng', 'map', 'overlay' ]
async connect () {
const res = await fetch(this.element.dataset.map);
this.overlayTarget.innerHTML = await res.text();
this.marker()
this.latTarget.addEventListener('change', event => this.marker())