From 82c4dc10eee0d2b3ead27706bc62febc17c6dbb8 Mon Sep 17 00:00:00 2001 From: uzalu Date: Sat, 3 May 2025 08:32:45 +0100 Subject: [PATCH] change image file url to work from any pwd --- maxima_2025.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxima_2025.html b/maxima_2025.html index c03620b..4b7ca32 100644 --- a/maxima_2025.html +++ b/maxima_2025.html @@ -1297,7 +1297,7 @@ setTimeout(updateTexts,100); const bg = document.querySelector("#bg"); - bg.style.backgroundImage = "url(\"images/bg/maxima_bg_" + Math.floor(Math.random() * 23) + ".jpg\")"; + bg.style.backgroundImage = "url(\"/images/bg/maxima_bg_" + Math.floor(Math.random() * 23) + ".jpg\")"; setTimeout(() => { bg.style.opacity = 1; },100);