fix: buttons don't appear

This commit is contained in:
Xmader 2020-08-26 05:01:55 -04:00
parent f98874acd8
commit 950b91ba53
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ type BtnElement = HTMLElement
* Select the original Download Button
*/
export const getDownloadBtn = (): BtnElement => {
const btnsDiv = document.querySelector('.score-right .buttons-wrapper') || document.querySelectorAll('aside section section > div')[4]
const btnsDiv = document.querySelector('.score-right .buttons-wrapper') || document.querySelectorAll('aside > section > section > div')[3]
const btn = btnsDiv.querySelector('button, .button') as BtnElement
btn.onclick = null