aboutsummaryrefslogtreecommitdiff
path: root/web/public/javascripts/map.js
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2019-03-28 23:55:20 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2019-03-28 23:55:20 +0000
commit1cc34a233187bcc95f68ce7fe0a8dcb9028051a2 (patch)
tree3299e3ff2229243c250c9986f09b4c22a6dc2a11 /web/public/javascripts/map.js
parentca031ecdc6bc7ce0f4886756f7d0f152e49ae850 (diff)
parent834843e6179c94e25157f50d94c3ed3b41802b0b (diff)
Merge branch 'feat/34' into qa
Diffstat (limited to 'web/public/javascripts/map.js')
-rw-r--r--web/public/javascripts/map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js
index 17b9208..5b75bc3 100644
--- a/web/public/javascripts/map.js
+++ b/web/public/javascripts/map.js
@@ -178,7 +178,7 @@ if (window.EventSource) {
var data = JSON.parse(e.data);
if (data.coordinates) {
points.push(data);
- plotPointsOnMap(points);
+ plotPointsOnMap(data);
}
}, false)