From 233564e7e58ad0c49984c91ae5853d3922495fb8 Mon Sep 17 00:00:00 2001 From: yifang Date: Wed, 19 Jan 2022 20:29:14 +0800 Subject: [PATCH] imp. : collapse and expand click event expanded to whole line. --- resources/gd-builtin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/gd-builtin.js b/resources/gd-builtin.js index 2001ea71..c2f6f042 100644 --- a/resources/gd-builtin.js +++ b/resources/gd-builtin.js @@ -68,7 +68,7 @@ function gdExpandArticle(id) { ev = window.event; t = null; if (ev) t = ev.target || ev.srcElement; - if (elem.style.display == 'inline' && t == ico) { + if (elem.style.display == 'inline' ) { elem.style.display = 'none'; ico.className = 'gdexpandicon'; art.className = art.className + ' gdcollapsedarticle';