Skip to content

JS updateAllowedElementScript src works with element #23

@the-ge

Description

@the-ge

I had to change

        if (dataset.src) {
            newEl.src = dataset.src
        }

to

        if (el.src) {
            newEl.src = el.src
        }

in src/js/PrivacyWire.js:403-404, (updateAllowedElementScript(el)) to get allowing scripts only after consent to work.

I know just enough JavaScript to be dangerous, so I'm a bit unsure about this being a bug or a side effect of the tortures I inflicted on ProcessWire and PrivacyWire 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions