From da8c3fc7d0f5234bd4b6406453b6f5f2c250478e Mon Sep 17 00:00:00 2001 From: James Glenn Date: Thu, 30 Apr 2020 11:29:26 -0500 Subject: [PATCH] fix commas --- js/contributors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/contributors.js b/js/contributors.js index 53746a3..1def644 100644 --- a/js/contributors.js +++ b/js/contributors.js @@ -10,7 +10,7 @@ function getContributors(page) { const contributorList = []; data.forEach((contributor, idx) => { contributorList.push(`${contributor.login}`); - if (idx < data.length - 1) { + if (idx < data.length - 1 || page > 1) { contributorList.push(', '); } });