From: Carl Worth Date: Thu, 8 Dec 2022 00:37:13 +0000 (-0800) Subject: Prepend images as they are generated X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=04e147e46052f0912440c580cd52b0dc95d715f2;p=zombocom-ai 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. --- 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) {