added pathname

This commit is contained in:
2025-08-18 14:18:18 +02:00
committed by GitHub
parent 6b04b75314
commit cb0fe96654

View File

@@ -195,7 +195,7 @@ class PhotoGallery {
filter() { filter() {
this.shown = []; this.shown = [];
const path = decodeURIComponent( const path = decodeURIComponent(
window.location.origin.replace("index.html", "") window.location.origin + window.location.pathname.replace("index.html", "")
); );
const selectedTags = []; const selectedTags = [];