Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issues with scripts in Firefox #250

Merged
merged 1 commit into from
Jan 19, 2022
Merged

Conversation

tbranyen
Copy link
Owner

Takes advice from #249 and creates a new script element and mirrors the existing contents and attributes/properties into it. Should be functionally equivalent to using domNode.cloneNode. This fixes a problem in Firefox where changing a scripts type attribute has no effect (once added to the dom), unlike in Chrome.

@tbranyen tbranyen merged commit e37f4cf into master Jan 19, 2022
@tbranyen tbranyen deleted the fix-execute-scripts branch January 19, 2022 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant