diff options
| author | Markus Koch <markus@notsyncing.net> | 2020-04-25 18:14:20 +0200 |
|---|---|---|
| committer | Markus Koch <markus@notsyncing.net> | 2020-04-25 18:14:28 +0200 |
| commit | 4aa26434f8b2ebc7960d3fcbd32fe82403a62b6d (patch) | |
| tree | 7ef7adefd4a684bd8ce218244c5e5a382551f3ac /htdocs | |
| parent | 777905e7f1a73a6b021d4a142491cd5aa17668ae (diff) | |
Fix restart through clearing the coordinate list
Diffstat (limited to 'htdocs')
| -rw-r--r-- | htdocs/streeteditor.js | 2 |
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); |
