name-color: look in as
This commit is contained in:
parent
c7aba3042b
commit
d0945a0dbe
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ async function get_name_color(name: string): Promise<string | undefined> {
|
|||
}
|
||||
}
|
||||
|
||||
for (const p of dom.querySelectorAll("p")) {
|
||||
for (const p of dom.querySelectorAll("p, a")) {
|
||||
if (!p.textContent.includes("name-color:")) continue;
|
||||
|
||||
for (const node of p.childNodes) {
|
||||
|
|
Loading…
Reference in a new issue