diff --git a/portal/templates/app/orgs.html b/portal/templates/app/orgs.html
index f84d855..7ba7383 100644
--- a/portal/templates/app/orgs.html
+++ b/portal/templates/app/orgs.html
@@ -403,7 +403,7 @@
+ '';
});
html += ''
- + ''
+ + ''
+ '';
}
if (notFound.length > 0) {
@@ -422,7 +422,8 @@
window._rescrapeNewPeople = newPeople;
}
- function addRescrapeSelected(people) {
+ function addRescrapeSelected() {
+ const people = window._rescrapeNewPeople || [];
const checked = document.querySelectorAll('.rescrape-cb:checked');
checked.forEach(cb => {
const p = people[parseInt(cb.dataset.idx)];