From 11480e8fd380aa3714e06a285b405b45b29d8bcf Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Fri, 18 May 2018 06:44:59 +0000 Subject: [PATCH] In regards to #35, limits contacts to 200 for performance. --- js/transaction.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/transaction.js b/js/transaction.js index 8561760..0d8392a 100644 --- a/js/transaction.js +++ b/js/transaction.js @@ -185,7 +185,10 @@ $(function() { } - volunteer_status(volunteer_ids); + // For performance + if (last_index <= 200) { + volunteer_status(volunteer_ids); + } // volunteer status function volunteer_status(contacts) {