From b37cbdb1d0b0e5df633181af3de63a209f97ca32 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 25 Apr 2023 19:30:54 +0100 Subject: [PATCH] Fix array.join() --- js/pis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pis.js b/js/pis.js index 0d59d54..0d63305 100644 --- a/js/pis.js +++ b/js/pis.js @@ -35,7 +35,7 @@ async function insertData(json) { let results = 0 for(var i = 0; i < json.length; i++) { // Hopefully can style output with CSS tableData += `${json[i]['code']} - ${json[i]['stops']}` + ${json[i]['stops'].join(', ')}` results++ } tableData += ""