mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Handle missing/non-existent images
This commit is contained in:
@@ -18,7 +18,7 @@ function main(json) {
|
||||
if (app.screenshotURLs) {
|
||||
html += `
|
||||
<div class="screenshots">`;
|
||||
for (let i = 0; i < app.screenshotURLs.length, i < 2; i++) html += `
|
||||
for (let i = 0; i < app.screenshotURLs.length, i < 2; i++) if (app.screenshotURLs[i]) html += `
|
||||
<img src="${app.screenshotURLs[i]}" class="screenshot">`;
|
||||
html += `
|
||||
</div>`;
|
||||
|
||||
Reference in New Issue
Block a user