From f39482fe4c1b80343470edbdd8ff6c323dc1bf13 Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 25 May 2023 15:48:38 +0200 Subject: [PATCH] Corrected image path in publication preview --- Website/interaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/interaction.js b/Website/interaction.js index a834782..b04de0a 100644 --- a/Website/interaction.js +++ b/Website/interaction.js @@ -143,7 +143,7 @@ function ShowPublicationViewerWindow(publicationId, event, add){ publicationViewerName.innerText = publication.sortName; publicationViewerDescription.innerText = publication.description; publicationViewerAuthor.innerText = publication.author; - pubviewcover.src = publication.posterUrl; + pubviewcover.src = `imageCache/${publication.coverFileNameInCache}`; toEditId = publicationId; //Check what action should be listed