aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorRahul Butani <rr.butani@gmail.com>2019-02-01 21:32:43 -0600
committerJakub Hampl <kopomir@gmail.com>2019-02-04 11:54:37 +0000
commit0e303e9acab72055f3dcb2991125f5472a0ead30 (patch)
treecb25ff422e9c8ffa176545ba04ce41e449f26b1e /src/js
parent69034ba2c4287485ee94a2a2aa15e50f22102c39 (diff)
Fix a small typo so Commands work
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 {