Fixed an error that did not work on a page with...
only the Print button
This commit is contained in:
parent
77017d6205
commit
89dc2ce723
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ const main = () => {
|
|||
}
|
||||
|
||||
const textNode = [...btn.childNodes].find((x) => {
|
||||
return x.textContent.includes("Download")
|
||||
return x.textContent.includes("Download") || x.textContent.includes("Print")
|
||||
})
|
||||
textNode.textContent = `Download ${name}`
|
||||
|
||||
|
|
Loading…
Reference in a new issue