diff --git a/js/main.js b/js/main.js index ca37c29..0080592 100644 --- a/js/main.js +++ b/js/main.js @@ -660,10 +660,13 @@ function loadQuestion(n, section = 1, force_reload = false) { image = image[0]; // Do we want the middle image? } + let caption = "..."; + if (current_question.image_titles != undefined) { + caption = current_question.image_titles[id]; + } + thumbnails.append( - '
...
' + `
${caption}
` ); // const thumbnail = $(".figure .thumbnail").get(id);