add span #cw-text, grudgingly
This commit is contained in:
parent
21a645b312
commit
185f8d5ca4
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ function setImage(src, href, cw) {
|
|||
} else if (defined(cw)) {
|
||||
let newCaption = document.createElement('figcaption');
|
||||
newCaption.id = 'cw';
|
||||
newCaption.innerHTML = cw;
|
||||
newCaption.innerHTML = `<span id=cw-text>cw: <b>${cw}</b></span>`;
|
||||
newCaption.onclick = openCW;
|
||||
mainfig.insertBefore(newCaption, mainlink);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue