From 0e303e9acab72055f3dcb2991125f5472a0ead30 Mon Sep 17 00:00:00 2001 From: Rahul Butani Date: Fri, 1 Feb 2019 21:32:43 -0600 Subject: Fix a small typo so Commands work --- src/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/js') 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 { -- cgit v1.2.3