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

Prefer document.createElement to document.write #182

Closed
tdphillips opened this issue Oct 7, 2016 · 1 comment
Closed

Prefer document.createElement to document.write #182

tdphillips opened this issue Oct 7, 2016 · 1 comment

Comments

@tdphillips
Copy link

tdphillips commented Oct 7, 2016

Checking dev tools on a site making use of django-ajax-selects using Chrome >= 53 results in a warning that document.writes might be blocked in certain contexts.

2016-10-07-095946_776x113_scrot

A bit more info is available here. If you determine this is worth doing, I've got some code I can put up. It's a fairly simple change.

@crucialfelix
Copy link
Owner

I saw that warning too. That would be most welcome if you can do a pull request for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants