diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/main.js b/src/js/main.js index 9266961..bfef979 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -306,7 +306,7 @@ export function registerPorts(elmApp, settings = {}) { } function waitForMap(target, cb) { - const el = document.getElementById(event.target); + const el = document.getElementById(target); if (el) { cb(el.map); } else { |