You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/plugins/nsfw/init.js

13 lines
195 B
JavaScript

/* global Plugins */
Plugins.NSFW = {
toggle: function(elem) {
const content = elem.domNode.parentNode.querySelector(".nswf.content");
if (content) {
Element.toggle(content);
}
}
}