Skip to content

Commit b81261a

Browse files
committed
Fix broken script injection
1 parent f71e1dc commit b81261a

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

biscuitman.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
}
185185

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

dist/biscuitman.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/biscuitman.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)