From aa06cecb805f3a72b9cc921529a15133d3b2b11d Mon Sep 17 00:00:00 2001 From: Xmader Date: Wed, 26 Aug 2020 05:02:20 -0400 Subject: [PATCH] v0.7.2 - fix #22 --- dist/main.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/main.js b/dist/main.js index 76d61c2..3f186ea 100644 --- a/dist/main.js +++ b/dist/main.js @@ -3,7 +3,7 @@ // @namespace https://www.xmader.com/ // @homepageURL https://github.com/Xmader/musescore-downloader/ // @supportURL https://github.com/Xmader/musescore-downloader/issues -// @version 0.7.1 +// @version 0.7.2 // @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱 // @author Xmader // @match https://musescore.com/*/* @@ -26447,7 +26447,7 @@ Please pipe the document into a Node stream.\ * Select the original Download Button */ const getDownloadBtn = () => { - const btnsDiv = document.querySelector('.score-right .buttons-wrapper') || document.querySelectorAll('aside section > div')[4]; + const btnsDiv = document.querySelector('.score-right .buttons-wrapper') || document.querySelectorAll('aside > section > section > div')[3]; const btn = btnsDiv.querySelector('button, .button'); btn.onclick = null; // fix the icon of the download btn diff --git a/package.json b/package.json index fef4411..5eb3771 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.7.1", + "version": "0.7.2", "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱", "main": "dist/main.js", "repository": {