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);