aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-03-29 22:48:14 +0000
committerSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-03-29 22:48:14 +0000
commit472739642a90f43970dc85ad37277f5124b8d797 (patch)
tree399abf8ab0b07bdca17c14eee41b5b73913e4fd1 /web
parent104e885981dec31aff9a5aaacc3abe2debcc9eba (diff)
Added undef line
Diffstat (limited to 'web')
-rw-r--r--web/public/javascripts/map.js1
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) {