agriget/plugins/nsfw/init.js

8 lines
152 B
JavaScript
Raw Normal View History

2019-03-22 22:17:29 +08:00
function nsfwShow(elem) {
let content = elem.parentNode.getElementsBySelector("div.nswf.content")[0];
if (content) {
Element.toggle(content);
}
}