diff --git a/js/main.js b/js/main.js index 9990670..dcaeaf9 100644 --- a/js/main.js +++ b/js/main.js @@ -586,10 +586,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);