From b4badfbd15551d72bb4a8f9bd99e53e2873cde37 Mon Sep 17 00:00:00 2001 From: Flo Greistorfer Date: Mon, 18 Aug 2025 14:21:21 +0200 Subject: [PATCH] replaced with URL --- templates/functionality.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/functionality.js b/templates/functionality.js index a2708b1..ae06970 100644 --- a/templates/functionality.js +++ b/templates/functionality.js @@ -85,7 +85,7 @@ class PhotoGallery { } async recursive() { - const loc = window.location; + const loc = new URL(window.location.href); const content = document.documentElement.innerHTML; const title = document.title; const isChecked = document.getElementById("recursive")?.checked;