From cb0fe96654373109066e7af150439890c145294f Mon Sep 17 00:00:00 2001 From: Flo Greistorfer Date: Mon, 18 Aug 2025 14:18:18 +0200 Subject: [PATCH] added pathname --- templates/functionality.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/functionality.js b/templates/functionality.js index 67d60bf..a2708b1 100644 --- a/templates/functionality.js +++ b/templates/functionality.js @@ -195,7 +195,7 @@ class PhotoGallery { filter() { this.shown = []; const path = decodeURIComponent( - window.location.origin.replace("index.html", "") + window.location.origin + window.location.pathname.replace("index.html", "") ); const selectedTags = [];