mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
13 lines
212 B
JavaScript
13 lines
212 B
JavaScript
|
function nsfwShow(elem) {
|
||
|
try {
|
||
|
content = elem.parentNode.getElementsBySelector("div.nswf.content")[0];
|
||
|
|
||
|
if (content) {
|
||
|
Element.toggle(content);
|
||
|
}
|
||
|
|
||
|
} catch (e) {
|
||
|
exception_error("nswfSHow", e);
|
||
|
}
|
||
|
}
|