Download Button Not Showing
psycho-neon opened this issue · comments
Just want to report that download buttons are not showing anymore due to obfuscated HTML tags used by musescore.
Obfuscated Tags:
https://prnt.sc/vsvv0a
Console Error:
https://prnt.sc/vsvvta
Quick Workaround, since I do not have time yet to investigate and make a pull request.
What I did is to embed the buttons on the navigation section instead on the download section. Not as good as it looks, but better than nothing.
const getBtnContainer = () => {
const containers = [...document.querySelectorAll('header')];
const btnParent = containers.find(c => {
return c;
});
if (!btnParent)
throw new Error('btn parent not found');
return btnParent;
};
Preview:
https://prnt.sc/vswi08
Suggestion:
To make the buttons attached to the body instead, probably below the header.