mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
imp. : collapse and expand click event expanded to whole line.
This commit is contained in:
parent
70254fe6e0
commit
233564e7e5
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue