From f156f380d4de118e31036e80144154bdcb664ed6 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 11 Jun 2022 13:59:33 +0530 Subject: 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. --- resources/js/gallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/js') 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"; -- cgit 1.4.1-2-gfad0