From 788991f3ff7dd174610cd78b94f4e7879868618e Mon Sep 17 00:00:00 2001 From: Samarth Agarwal Date: Fri, 29 Mar 2019 16:15:52 -0400 Subject: Continuing merge. --- web/public/javascripts/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js index edd312a..4ffa3db 100644 --- a/web/public/javascripts/map.js +++ b/web/public/javascripts/map.js @@ -43,7 +43,7 @@ function plotPointsOnMap(points) { // show details about point // e is the event info function showDetails(e) { - if(currPoint !== null) { + if(currPoint !== undefined) { if (currPoint.feature.geometry.status === "new") { currPoint._icon.src = '../assets/blue-icon.png'; } -- cgit v1.2.3