From 5f54466ec09f392e366d3c5f5ab8662b9d62fa8c Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Sun, 19 Jul 2020 00:11:48 +0200 Subject: [PATCH] fix caption --- script/single.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/single.js b/script/single.js index 3d4e0fa..5214d41 100644 --- a/script/single.js +++ b/script/single.js @@ -13,7 +13,7 @@ function setImage(src, href, cw) { let caption = getById('cw'); if (defined(caption) && defined(cw)) { - caption.innerHTML = cw; + caption.innerHTML = `cw: ${cw}`; } else if (defined(caption)) { mainfig.removeChild(caption); } else if (defined(cw)) {