From 04e147e46052f0912440c580cd52b0dc95d715f2 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 7 Dec 2022 16:37:13 -0800 Subject: [PATCH] Prepend images as they are generated So that the most-recently-generated image is always there at the top, without requiring a big scroll to reach it. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a0ee564..13fc62a 100644 --- a/index.html +++ b/index.html @@ -137,7 +137,7 @@ mute.addEventListener("click", () => { figcaption.appendChild(caption_text); figure.appendChild(img); figure.appendChild(figcaption); - images.appendChild(figure); + images.prepend(figure); }); zombo_form.addEventListener('submit', function(e) { -- 2.43.0