fix commas

master
James Glenn 4 years ago
parent e14c3ce8cf
commit da8c3fc7d0

@ -10,7 +10,7 @@ function getContributors(page) {
const contributorList = [];
data.forEach((contributor, idx) => {
contributorList.push(`<a href="${contributor.html_url}">${contributor.login}</a>`);
if (idx < data.length - 1) {
if (idx < data.length - 1 || page > 1) {
contributorList.push(', ');
}
});

Loading…
Cancel
Save