diff options
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 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'; } |
