Fixed captions for SVGs, added translations for captions
This commit is contained in:
@@ -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
|
||||
: '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user