ttrss/plugins/nsfw/init.js

8 lines
152 B
JavaScript
Raw Normal View History

2013-02-23 12:02:29 +00:00
function nsfwShow(elem) {
let content = elem.parentNode.getElementsBySelector("div.nswf.content")[0];
2013-02-23 12:02:29 +00:00
if (content) {
Element.toggle(content);
2013-02-23 12:02:29 +00:00
}
}