diff --git a/scripts/haltestellen.js b/scripts/haltestellen.js index 8becae7..1ac94da 100644 --- a/scripts/haltestellen.js +++ b/scripts/haltestellen.js @@ -100,8 +100,8 @@ function ajaxCall(dataUrl, outputElement, callback) { var trala = data[i].split(","); console.log("part " + i + " of parsed data: " + data); for (y = 0; y < 3; y++) { - console.log("part " + y + ": " + data[y]); - htmlOutput += "" + data[y].slice(1,-1) + ""; + console.log("part " + y + ": " + trala[y]); + htmlOutput += "" + trala[y].slice(1,-1) + ""; } htmlOutput += ""; }