diff options
Diffstat (limited to 'blog/post/2019-04-25.html')
-rw-r--r-- | blog/post/2019-04-25.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/blog/post/2019-04-25.html b/blog/post/2019-04-25.html index 46be210..8d9a13a 100644 --- a/blog/post/2019-04-25.html +++ b/blog/post/2019-04-25.html @@ -77,6 +77,9 @@ for(let x of cl) a.setAttribute('x',n-1); a.innerHTML='show'; a.href='javascript:void(0)'; + if (dd.hasAttribute('caption')) + b.innerHTML=dd.getAttribute('caption'); + else b.innerHTML=dd.getAttribute('data-caption'); s.appendChild(b); s.appendChild(document.createTextNode(' [')); |