fix cw stuff... again

This commit is contained in:
Rhiannon Morris 2020-09-18 20:14:50 +02:00
parent d294a094f8
commit bf6ef27874

View file

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