diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 22:48:14 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 22:48:14 +0000 |
| commit | 472739642a90f43970dc85ad37277f5124b8d797 (patch) | |
| tree | 399abf8ab0b07bdca17c14eee41b5b73913e4fd1 /web/public/javascripts/map.js | |
| parent | 104e885981dec31aff9a5aaacc3abe2debcc9eba (diff) | |
Added undef line
Diffstat (limited to 'web/public/javascripts/map.js')
| -rw-r--r-- | web/public/javascripts/map.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js index c5b1583..07ca190 100644 --- a/web/public/javascripts/map.js +++ b/web/public/javascripts/map.js @@ -125,6 +125,7 @@ function markAsPending(e) { function markAsCompleted(e) { map.removeLayer(currPoint); currPoint.feature.geometry.status = "completed"; + currPoint = undefined; } function closeDetails(e) { |
