diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 20:15:52 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 20:15:52 +0000 |
| commit | 788991f3ff7dd174610cd78b94f4e7879868618e (patch) | |
| tree | 1fad5aca1ee6fc709506e370469fc78595e4f1bd /web/public/javascripts/map.js | |
| parent | 839fd54c86cba3c8a875a6c061ccbf9837ed4009 (diff) | |
Continuing merge.qa-temp-merging-feat33
Diffstat (limited to 'web/public/javascripts/map.js')
| -rw-r--r-- | web/public/javascripts/map.js | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } |
