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

Added fix to enable asynchronous loading in IE (fixes #171 and #175) #232

Merged
merged 1 commit into from
Feb 10, 2012
Merged

Added fix to enable asynchronous loading in IE (fixes #171 and #175) #232

merged 1 commit into from
Feb 10, 2012

Conversation

mdumic
Copy link
Contributor

@mdumic mdumic commented Feb 10, 2012

I removed "document.write" in favor of "document.createElement" to enable asynchronous loading. Tested in IE7-9.

@sorccu
Copy link
Owner

sorccu commented Feb 10, 2012

There is a reason why document.write was used. There was a certain case which caused IE (7?) to fail miserably. Sadly enough there are no tests and I can't recall what caused the issue. But it might have been related to frames and/or stand-alone IE installs. That's why nothing has been done about it earlier.

But now that I think about it, if we apply this patch and something breaks, at least we'll once again know what the cause was. Which would be nice.

Merging. Thanks!

sorccu added a commit that referenced this pull request Feb 10, 2012
Added fix to enable asynchronous loading in IE (fixes #171 and #175)
@sorccu sorccu merged commit 79ea413 into sorccu:master Feb 10, 2012
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.

2 participants