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

Doesn't work outside of DOMContentLoaded #33

Open
stevenvachon opened this issue Aug 8, 2017 · 0 comments · May be fixed by #34
Open

Doesn't work outside of DOMContentLoaded #33

stevenvachon opened this issue Aug 8, 2017 · 0 comments · May be fixed by #34

Comments

@stevenvachon
Copy link

stevenvachon commented Aug 8, 2017

import 'date-input-polyfill';
<script src="app.js"></script>
TypeError: null is not an object (evaluating 'document.body.appendChild')

Likely caused by this:
https://github.com/jcgertig/date-input-polyfill/blob/master/date-input-polyfill.js#L21

Will you accept a PR? I see that there're unmerged PRs.

stevenvachon added a commit to stevenvachon/date-input-polyfill that referenced this issue Aug 8, 2017
stevenvachon added a commit to stevenvachon/date-input-polyfill that referenced this issue Aug 8, 2017
stevenvachon added a commit to stevenvachon/date-input-polyfill that referenced this issue Aug 8, 2017
@stevenvachon stevenvachon linked a pull request Aug 8, 2017 that will close this issue
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 a pull request may close this issue.

1 participant