forked from tastytea/userscripts
Added comments.
This commit is contained in:
parent
1108cb3710
commit
de1aa38117
|
@ -37,6 +37,7 @@ function toggle(parent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Returns all conversation-headings or profile-tabs.
|
||||||
function get_root_elements()
|
function get_root_elements()
|
||||||
{
|
{
|
||||||
const main = document.getElementsByClassName("main")[0];
|
const main = document.getElementsByClassName("main")[0];
|
||||||
|
@ -64,6 +65,7 @@ function add_button(parent)
|
||||||
parent.append(span);
|
parent.append(span);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if we need to add a button.
|
||||||
function check()
|
function check()
|
||||||
{
|
{
|
||||||
const re = new RegExp(
|
const re = new RegExp(
|
||||||
|
|
Loading…
Reference in New Issue