diff options
author | Andinus <andinus@nand.sh> | 2022-06-11 13:59:33 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-06-11 14:03:34 +0530 |
commit | f156f380d4de118e31036e80144154bdcb664ed6 (patch) | |
tree | 5373a1aff0699774aafa7979c4c5584669187eb1 /resources/js/gallery.js | |
parent | 89c60aee5a602ed5bfd73a9d5bcbbf9945aac44f (diff) | |
download | crater-f156f380d4de118e31036e80144154bdcb664ed6.tar.gz |
Display gallery title, fix authentication, show directories
- Earlier non-authenticated users could access the images too. - Serve original image if thumbnail doesn't exist. - Show directories in gallery. - Remove lazy loading attribute.
Diffstat (limited to 'resources/js/gallery.js')
-rw-r--r-- | resources/js/gallery.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/gallery.js b/resources/js/gallery.js index 2a608f5..5643ce2 100644 --- a/resources/js/gallery.js +++ b/resources/js/gallery.js @@ -71,7 +71,7 @@ const onImagesLoaded = (container, event) => { const gallery = document.getElementById("gallery"); const imagesLoaded = (remaining, failed, progressBar) => { - bricks.pack(); + bricks.pack(); // packing images progressBar.value = 100; document.getElementById("loading").style.display = "none"; |