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"); } } }