From 8699bd01c775f2b7893240d9647548fa1eb698b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P?= Date: Mon, 17 Jun 2024 16:05:40 +0200 Subject: [PATCH] More stupid path changes... --- js/ui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui.js b/js/ui.js index 0ffc519..42d7322 100644 --- a/js/ui.js +++ b/js/ui.js @@ -113,7 +113,7 @@ UI.openModal = async function (data) {

Cliccare sull'immagine per aprire la gallery

@@ -127,7 +127,7 @@ UI.openModal = async function (data) {

Cliccare sull'immagine per aprire la gallery

@@ -186,7 +186,7 @@ UI.imageGallery = function (galleryId, images) { if (element) { let gallery = []; for (let img of images) { - gallery.push({src: `../img/${img.filename}`, description: img.didascalia}); + gallery.push({src: `img/${img.filename}`, description: img.didascalia}); } document.querySelector(`#${galleryId}`).addEventListener('click', () => {