Only log "needed but not received" if there are any.

This commit is contained in:
voussoir 2020-12-26 12:13:54 -08:00
parent cdfa0531a2
commit 33b4799268

View file

@ -220,8 +220,11 @@ function request_more_divs()
holder.appendChild(photo_div);
}
photo_clipboard.apply_check_all();
if (needed.size > 0)
{
console.log("Needed but not received: " + Array.from(needed));
}
}
common.post(url, data, callback);
}