Skip to content

Commit

Permalink
fix: page count missing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassterud committed Jan 23, 2021
1 parent f025f80 commit 889faf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion injected.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// Gather data
let scoreContainer = document.querySelector("img[src*=score_]")?.parentElement?.parentElement;
let pageCount = scoreContainer?.querySelectorAll(".gXB83")?.length;
let pageCount = scoreContainer?.querySelectorAll("._2uWw4")?.length;
let urls = [];

// Check data for errors
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Musescore Downloader",
"version": "1.0.1",
"version": "1.0.2",
"description": "Download PDFs from Musescore.",
"permissions": ["*://musescore.com/*", "*://s3.ultimate-guitar.com/*", "downloads"],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
Expand Down

0 comments on commit 889faf9

Please sign in to comment.