From de1aa381171405eefe5512cd4cbab0996a367165 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 12 Jun 2019 21:14:28 +0200 Subject: [PATCH] Added comments. --- fediverse/pleroma_cw_toggle.user.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fediverse/pleroma_cw_toggle.user.js b/fediverse/pleroma_cw_toggle.user.js index e4f4d1b..63bfec0 100644 --- a/fediverse/pleroma_cw_toggle.user.js +++ b/fediverse/pleroma_cw_toggle.user.js @@ -37,6 +37,7 @@ function toggle(parent) } } +// Returns all conversation-headings or profile-tabs. function get_root_elements() { const main = document.getElementsByClassName("main")[0]; @@ -64,6 +65,7 @@ function add_button(parent) parent.append(span); } +// Check if we need to add a button. function check() { const re = new RegExp(