ttrss/plugins/nsfw/init.js

8 lines
152 B
JavaScript

function nsfwShow(elem) {
let content = elem.parentNode.getElementsBySelector("div.nswf.content")[0];
if (content) {
Element.toggle(content);
}
}