diff --git a/fediverse/pleroma_cw_toggle.user.js b/fediverse/pleroma_cw_toggle.user.js index fdf0c99..afee97d 100644 --- a/fediverse/pleroma_cw_toggle.user.js +++ b/fediverse/pleroma_cw_toggle.user.js @@ -105,7 +105,7 @@ function check() { parent = root[0].parentElement; } - // if root element and a status was found, disable interval and add button. + // if root element and a status was found, add button. if (root.length !== 0) { if (!parent.getElementsByClassName("StatusContent").length > 0 @@ -114,11 +114,6 @@ function check() return; } - if (is_static) - { - clearInterval(interval); - } - for (let element of root) { // Only add button if one or more statuses have a CW.