fix: buttons don't appear
This commit is contained in:
parent
f98874acd8
commit
950b91ba53
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue