use https by default and sort the images displayed to the user

This commit is contained in:
ryan.kuba 2022-06-29 12:06:19 -04:00
parent 79fb4d3773
commit 45f627b4fd
2 changed files with 10 additions and 7 deletions

View file

@ -207,7 +207,7 @@ async function pickImages() {
titleChange('Image Selection');
let imagesDiv = $('<div>', {class: 'cardcontainer', id: 'images'});
$('#container').append(imagesDiv);
for await (let image of Object.keys(images.images)) {
for await (let image of Object.keys(images.images).sort(Intl.Collator().compare)) {
let imageName = $('<p>').text(image);
let imageDiv = $('<div>', {
class: 'card',