From d60a82934629b2f5874ada477564d1d5a0afb14a Mon Sep 17 00:00:00 2001 From: Sebastien Curt <sebastien.curt@tetras-libre.fr> Date: Tue, 3 May 2022 09:32:40 +0200 Subject: [PATCH] Fix image display on mosaic mode --- capsule-prototype/js/MosaicPanelWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capsule-prototype/js/MosaicPanelWidget.js b/capsule-prototype/js/MosaicPanelWidget.js index 6eb6d08..8984ccc 100644 --- a/capsule-prototype/js/MosaicPanelWidget.js +++ b/capsule-prototype/js/MosaicPanelWidget.js @@ -39,7 +39,7 @@ if (reg === 'rekall') { if (type === 'marker') type = 'note'; } - return "../shared/css/images/img-" + type + ".png"; + return tagOrDoc.getDownloadLink() || "../shared/css/images/img-" + type + ".png"; } else { return path; } -- GitLab