mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +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;
|
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';
|
||||||
|
|
Loading…
Reference in a new issue