From 61e21fe03c0f983e83478182032092519b0606d3 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 22 Nov 2025 20:29:36 -0800 Subject: [PATCH] Hide excess upcoming thumbs instead of showing error image. --- frontends/etiquette_flask/templates/swipe.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontends/etiquette_flask/templates/swipe.html b/frontends/etiquette_flask/templates/swipe.html index 5992aad..3fd2d81 100644 --- a/frontends/etiquette_flask/templates/swipe.html +++ b/frontends/etiquette_flask/templates/swipe.html @@ -460,10 +460,12 @@ function show_current_photo() if (upcoming_photo !== undefined && upcoming_photo.has_thumbnail) { upcoming_imgs[index].src = "/photo/" + upcoming_photo.id + "/thumbnail"; + upcoming_imgs[index].classList.remove("hidden"); } else { upcoming_imgs[index].src = ""; + upcoming_imgs[index].classList.add("hidden"); } } }