summary refs log tree commit diff stats
path: root/resources/js/gallery.js
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-11 17:21:46 +0530
committerAndinus <andinus@nand.sh>2022-06-11 17:21:46 +0530
commit02f8885f05f09dcb57a358fcd3440eaf679c8c02 (patch)
treef194b467501e2f3c9981574952291bbd22906044 /resources/js/gallery.js
parent79aa4269eccfc6afdb6347b37956b16e7603f0b0 (diff)
downloadcrater-02f8885f05f09dcb57a358fcd3440eaf679c8c02.tar.gz
Add navigation bar to gallery
- Error on no images has been removed because there might be nested
  directories but 0 images & that is okay.
Diffstat (limited to 'resources/js/gallery.js')
-rw-r--r--resources/js/gallery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/gallery.js b/resources/js/gallery.js
index d188e49..44ba1b1 100644
--- a/resources/js/gallery.js
+++ b/resources/js/gallery.js
@@ -66,7 +66,7 @@ const onImagesLoaded = (container, event) => {
     let remaining = images.length;
 
     if (images.length === 0) {
-        showLoadingError("No images to display.");
+        // showLoadingError("No images to display.");
         event(remaining, failed, progressBar);
     }