summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Koch <markus@notsyncing.net>2020-04-25 18:14:20 +0200
committerMarkus Koch <markus@notsyncing.net>2020-04-25 18:14:28 +0200
commit4aa26434f8b2ebc7960d3fcbd32fe82403a62b6d (patch)
tree7ef7adefd4a684bd8ce218244c5e5a382551f3ac
parent777905e7f1a73a6b021d4a142491cd5aa17668ae (diff)
downloadlifomapserver-4aa26434f8b2ebc7960d3fcbd32fe82403a62b6d.tar.gz
lifomapserver-4aa26434f8b2ebc7960d3fcbd32fe82403a62b6d.tar.bz2
lifomapserver-4aa26434f8b2ebc7960d3fcbd32fe82403a62b6d.zip
Fix restart through clearing the coordinate list
-rw-r--r--htdocs/streeteditor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/streeteditor.js b/htdocs/streeteditor.js
index 230324c..a1a9097 100644
--- a/htdocs/streeteditor.js
+++ b/htdocs/streeteditor.js
@@ -64,7 +64,7 @@ if (editor_mode) {
"* Double click a waypoint to delete it.\n" +
"* Click save in the top right to get the new string.\n\n" +
"Enter existing waypoints in the following format: [x,y],[x,y]:", window.location.hash.slice(1));
- if (!str)
+ if (str == undefined)
return;
} else {
str = window.location.hash.slice(1);