From 2e3359df7ac06054b709b4cbfbcea0f99bc8a9af Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sun, 5 Mar 2023 08:48:26 -0500 Subject: [PATCH] lazy-load record covers to avoid 429 responses --- frontend/files/records/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/files/records/app.js b/frontend/files/records/app.js index ec9ba60..e144cde 100644 --- a/frontend/files/records/app.js +++ b/frontend/files/records/app.js @@ -131,7 +131,7 @@ function RecordTemplate({ year, discogsURL, }) { - return `${coverURL ? `` : ""} + return `${coverURL ? `` : ""}

${name}

${artists.join(", ")}

${identifier}
@@ -149,7 +149,7 @@ function RecordTemplate({ function TableRowTemplate({ name, coverURL, discogsURL }) { return `
- + ${name}