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:
parent
05fba76ab8
commit
53ce970bb0
1 changed files with 0 additions and 3 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue