fix cw stuff... again

This commit is contained in:
Rhiannon Morris 2020-09-18 20:14:50 +02:00
parent d294a094f8
commit bf6ef27874
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function setImage(id, src, width, height, href, cw, firstLoad) {
newCaption = document.getElementById('cw-template')
.content.firstElementChild.cloneNode(true);
newCaption.querySelector('#cw-text').innerHTML = cw;
addCWListeners(id, newCaption.querySelector('#cw'));
addCWListeners(id, newCaption);
}
if (caption) {