From 428a9ca5099b1fc9893f172e55d2df0aaf6f1d49 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 21 Sep 2019 13:41:04 +0200 Subject: [PATCH] await the right condition --- htdocs/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/map.js b/htdocs/map.js index 20d18c1..41c1105 100644 --- a/htdocs/map.js +++ b/htdocs/map.js @@ -88,7 +88,7 @@ } var processUpdates = function(updates) { - if (!map) { + if (typeof(AprsMarker) == 'undefined') { updateQueue = updateQueue.concat(updates); return; }