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> </div>
</body> </body>
<script src="media/main.js?v=4"></script> <script src="media/main.js?v=5"></script>
<script> <script>
async function init() { async function init() {
await loadModifiers() await loadModifiers()

View File

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