Fix restart through clearing the coordinate list

This commit is contained in:
Markus Koch 2020-04-25 18:14:20 +02:00
parent 777905e7f1
commit 4aa26434f8
1 changed files with 1 additions and 1 deletions

View File

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