imp. : collapse and expand click event expanded to whole line.

This commit is contained in:
yifang 2022-01-19 20:29:14 +08:00
parent 70254fe6e0
commit 233564e7e5

View file

@ -68,7 +68,7 @@ function gdExpandArticle(id) {
ev = window.event; ev = window.event;
t = null; t = null;
if (ev) t = ev.target || ev.srcElement; if (ev) t = ev.target || ev.srcElement;
if (elem.style.display == 'inline' && t == ico) { if (elem.style.display == 'inline' ) {
elem.style.display = 'none'; elem.style.display = 'none';
ico.className = 'gdexpandicon'; ico.className = 'gdexpandicon';
art.className = art.className + ' gdcollapsedarticle'; art.className = art.className + ' gdcollapsedarticle';