Commit 3534576e authored by Michael Dombrowski's avatar Michael Dombrowski

fix null/undefined autofill

parent ff0ed996
......@@ -70,6 +70,11 @@ Copy the text after /locations/ and before /tides/latest from the URL (Including
options[4] = options[4].split("=")[1];
options[5] = options[5].split("=")[1];
options[6] = options[6].split("=")[1];
for(loc in options){
if(options[loc]===null || options[loc]=="undefined" || options[loc] == "null"){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment