« get me outta code hell

client: image-overlay: fix failing w/o any thumbs - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-28 18:23:39 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-28 18:23:39 -0400
commit92f04af1152fb852b4c91758e2da483e79bd8488 (patch)
treede6b27d954cb6c30add01e01f8901dd2088bb417 /src
parent30a817020a548351b3ef44276d130858d328685b (diff)
client: image-overlay: fix failing w/o any thumbs
Diffstat (limited to 'src')
-rw-r--r--src/static/js/client/image-overlay.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/client/image-overlay.js b/src/static/js/client/image-overlay.js
index b51d57a4..1e0ebd75 100644
--- a/src/static/js/client/image-overlay.js
+++ b/src/static/js/client/image-overlay.js
@@ -170,7 +170,7 @@ function getImageSources(details) {
     };
   } else {
     return {
-      mainSrc: originalSrc,
+      mainSrc: details.originalSrc,
       thumbSrc: null,
       mainThumb: '',
       thumbThumb: '',