From e339246b57e4ba5a84c9dc114960edbc2b1455a3 Mon Sep 17 00:00:00 2001 From: James Glenn Date: Thu, 30 Apr 2020 13:17:36 -0500 Subject: [PATCH] remove unnecessary page check --- js/contributors.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/contributors.js b/js/contributors.js index 28039c5..1a4f7a7 100644 --- a/js/contributors.js +++ b/js/contributors.js @@ -3,10 +3,6 @@ function getContributors(page) { const container = $('#contributors'); jQuery.ajax(`https://api.github.com/repos/mikebryant/ac-nh-turnip-prices/contributors?page=${page}&per_page=100`, {}) .done(function (data) { - if (data.length === 0) { - return; - } - const contributorList = []; data.forEach((contributor, idx) => { if (idx === 0 && page > 1) {