Skip to content

Commit

Permalink
Fix broken script injection
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Jun 21, 2024
1 parent f71e1dc commit b81261a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion biscuitman.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
}

function insertScripts() {
const scripts = ui.querySelectorAll('script[data-consent]')
const scripts = d.querySelectorAll('script[data-consent]')
scripts.forEach(script => {
if (!w[o.global][script.dataset.consent]) return false

Expand Down
2 changes: 1 addition & 1 deletion dist/biscuitman.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/biscuitman.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b81261a

Please sign in to comment.