]> git.wh0rd.org - tt-rss.git/blob - plugins/nsfw/init.js
strip_harmful_tags: remove data- attributes
[tt-rss.git] / plugins / nsfw / init.js
1 function nsfwShow(elem) {
2 try {
3 content = elem.parentNode.getElementsBySelector("div.nswf.content")[0];
4
5 if (content) {
6 Element.toggle(content);
7 }
8
9 } catch (e) {
10 exception_error("nswfSHow", e);
11 }
12 }