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

Delay init() execution until the document is ready #948

Merged
merged 2 commits into from Oct 28, 2020
Merged

Delay init() execution until the document is ready #948

merged 2 commits into from Oct 28, 2020

Conversation

bjoluc
Copy link
Member

@bjoluc bjoluc commented Aug 3, 2020

This prevents jsPsych from creating a duplicate body element when the
actual body element has not yet been initialized.

Fixes #316

This prevents jsPsych from creating a duplicate `body` element when the
actual `body` element has not yet been initialized.

Fixes  #316
@jodeleeuw
Copy link
Member

@bjoluc thanks for adding the tests! I learned something new about jest testing from this. much appreciated!

@jodeleeuw jodeleeuw merged commit d621710 into jspsych:master Oct 28, 2020
@jodeleeuw jodeleeuw mentioned this pull request Oct 28, 2020
@bjoluc bjoluc deleted the fix-duplicate-body branch October 28, 2020 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix duplicate body tags
3 participants