showLoader some more

This commit is contained in:
2026-02-09 09:11:58 +01:00
committed by Florian Greistorfer
parent 4f1c0388a5
commit 45cc7c98f1

View File

@@ -176,6 +176,7 @@ class PhotoGallery {
} }
filter() { filter() {
this.showLoader();
const searchParams = new URLSearchParams(window.location.search); const searchParams = new URLSearchParams(window.location.search);
this.shown = []; this.shown = [];
let path = decodeURIComponent(window.location.origin + window.location.pathname.replace("index.html", "")); let path = decodeURIComponent(window.location.origin + window.location.pathname.replace("index.html", ""));
@@ -283,6 +284,7 @@ class PhotoGallery {
}; };
updateImageList() { updateImageList() {
this.showLoader();
const imagelist = document.getElementById("imagelist"); const imagelist = document.getElementById("imagelist");
if (!imagelist) return; if (!imagelist) return;
let str = ""; let str = "";