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

@ -212,7 +212,7 @@
</div>
</body>
<script src="media/main.js?v=4"></script>
<script src="media/main.js?v=5"></script>
<script>
async function init() {
await loadModifiers()

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
}