musescore-downloader

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2258ed0659ca8dacddd35687a2a55b711c4819e9
parent 77017d6205eda3dde8bbc64425b455fd86801a03
Author: Xmader <xmader@outlook.com>
Date:   Sun, 29 Mar 2020 17:18:30 -0400

Merge pull request #12 from nnnlog/patch-1

Fixed an error that did not work on a page with only the Print button
Diffstat:
Msrc/main.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.ts b/src/main.ts @@ -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}`