Insert the latest batch of images on top

This commit is contained in:
cmdr2
2022-09-27 13:48:50 +05:30
parent a821b309f7
commit fac8e8aa8b
2 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ function makeImageElement(width, height) {
img.height = parseInt(height)
imgItem.appendChild(img)
imagesContainer.appendChild(imgItem)
imagesContainer.insertBefore(imgItem, imagesContainer.firstChild)
return imgItem
}