Fixed captions for SVGs, added translations for captions

This commit is contained in:
2026-08-13 16:00:24 +02:00
parent 4e1ab6da3c
commit e6a6bcd87c
3 changed files with 49 additions and 20 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ document.addEventListener('DOMContentLoaded', function () {
function setCaption(figureNumber, captionText) {
overlayCaption.innerHTML = captionText
? '<span class="fig-number">Figure ' + figureNumber + ':</span> ' + captionText
? '<span class="fig-number" data-num="' + figureNumber + '"></span> ' + captionText
: '';
}