dl-librescore
Advanced tools
Comparing version 0.34.57 to 0.34.58
{ | ||
"name": "dl-librescore", | ||
"version": "0.34.57", | ||
"version": "0.34.58", | ||
"description": "Download sheet music", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.user.js", |
@@ -46,3 +46,3 @@ import "./meta"; | ||
const observer = new MutationObserver(() => { | ||
const sub = Array.from( | ||
let noSub = Array.from( | ||
document.querySelectorAll("#jmuse-scroller-component div") | ||
@@ -52,2 +52,7 @@ ).some((img: HTMLDivElement) => | ||
); | ||
if (!noSub) { | ||
noSub = document.querySelector("#jmuse-scroller-component") | ||
? false | ||
: true; | ||
} | ||
const scoreinfo = new ScoreInfoInPage(document); | ||
@@ -62,3 +67,3 @@ const btnList = new BtnList(); | ||
if ( | ||
sub && | ||
noSub && | ||
(document.querySelector( | ||
@@ -65,0 +70,0 @@ "meta[property='musescore:author'][content='Official Scores']" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3617990
82123