summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);