aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/main.js2
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 {