diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 20:40:11 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 20:40:11 +0000 |
| commit | 0d0c5c5fe387cfe1a71b1620f6a73243f053a1d3 (patch) | |
| tree | 530670509ea3668564c596cfa47f7c31396b6e13 /web/public/javascripts | |
| parent | a062626028fb80b5ab6b61af65d88ca9b7140243 (diff) | |
Changed null to undefined.
Diffstat (limited to 'web/public/javascripts')
| -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 33b0ed6..abb988a 100644 --- a/web/public/javascripts/map.js +++ b/web/public/javascripts/map.js @@ -42,7 +42,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'; } |
