Commit 8fff1be2411ea1559eec02496640316dab519e57
1 parent
f965cc59
plugin update
Showing
1 changed file
with
1 additions
and
1 deletions
datalets/leafletjs-datalet/leafletjs-datalet.html
... | ... | @@ -101,7 +101,7 @@ Example: |
101 | 101 | else |
102 | 102 | continue; |
103 | 103 | } |
104 | - else if(t.data[0].data[i].indexOf(",")) | |
104 | + else if(t.data[0].data[i] && t.data[0].data[i].indexOf(",")) | |
105 | 105 | { |
106 | 106 | var coords = t.data[0].data[i].split(","); |
107 | 107 | if(!isNaN(coords[0]) && !isNaN(coords[1])) | ... | ... |