diff options
author | Rahul Butani <rr.butani@gmail.com> | 2019-02-01 21:32:43 -0600 |
---|---|---|
committer | Jakub Hampl <kopomir@gmail.com> | 2019-02-04 11:54:37 +0000 |
commit | 0e303e9acab72055f3dcb2991125f5472a0ead30 (patch) | |
tree | cb25ff422e9c8ffa176545ba04ce41e449f26b1e | |
parent | 69034ba2c4287485ee94a2a2aa15e50f22102c39 (diff) |
Fix a small typo so Commands work
-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 { |