From 8fff1be2411ea1559eec02496640316dab519e57 Mon Sep 17 00:00:00 2001 From: andrpet Date: Wed, 13 Jul 2016 12:46:48 +0200 Subject: [PATCH] plugin update --- datalets/leafletjs-datalet/leafletjs-datalet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datalets/leafletjs-datalet/leafletjs-datalet.html b/datalets/leafletjs-datalet/leafletjs-datalet.html index a1c7327..5ceee13 100755 --- a/datalets/leafletjs-datalet/leafletjs-datalet.html +++ b/datalets/leafletjs-datalet/leafletjs-datalet.html @@ -101,7 +101,7 @@ Example: else continue; } - else if(t.data[0].data[i].indexOf(",")) + else if(t.data[0].data[i] && t.data[0].data[i].indexOf(",")) { var coords = t.data[0].data[i].split(","); if(!isNaN(coords[0]) && !isNaN(coords[1])) -- libgit2 0.21.4