diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 22:55:14 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 22:55:14 +0000 |
| commit | 49772d1150eb39a89d1e221beecbf465b37fa2f3 (patch) | |
| tree | ee2f3ce3584f60689256422fef8bf608b3111dd3 /web | |
| parent | d0259d4d2008afc5db87d8bd2b1705ee9c38e84a (diff) | |
| parent | 472739642a90f43970dc85ad37277f5124b8d797 (diff) | |
Added undef line.
Diffstat (limited to 'web')
| -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 98e046b..6f06e40 100644 --- a/web/public/javascripts/map.js +++ b/web/public/javascripts/map.js @@ -150,6 +150,7 @@ function markAsCompleted(e) { .then(function(responseJson) { alert("Your change has been saved."); map.removeLayer(currPoint); + currPoint = undefined; }) .catch(function(error) { alert(error); |
