summaryrefslogtreecommitdiff
path: root/blog/post/2019-04-25.html
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-02 00:44:46 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-02 00:44:46 +0800
commit713ab4ab167d56e61512e179a7a55b4e64bf7c26 (patch)
tree995ee1900ad1321b24c09db695a0ea887ffdb60b /blog/post/2019-04-25.html
parent888af35264cc7515137e0e0c489f01014ba73de9 (diff)
downloadweb-713ab4ab167d56e61512e179a7a55b4e64bf7c26.tar.xz
make the SD-20 post public.
Diffstat (limited to 'blog/post/2019-04-25.html')
-rw-r--r--blog/post/2019-04-25.html3
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(' ['));