Skip to content

Commit

Permalink
fix: the selector cannot have spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yujinpan committed Mar 3, 2021
1 parent a8df2fb commit cd6b689
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions scripts/super-image-reptile.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,7 @@
*/
function imagesReptile(callback) {
const elements = Array.from(document.querySelectorAll(`
*
:not(head)
:not(script)
:not(textarea)
:not(input)
:not(meta)
:not(title)
:not(style)
:not(link)
*:not(head):not(script):not(textarea):not(input):not(meta):not(title):not(style):not(link)
`));
const elem = document.querySelector('.SIR-download-program');
elem.classList.add('active');
Expand Down

0 comments on commit cd6b689

Please sign in to comment.