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

Adding a detection of the HTMLDocument for IE7/8 compatibility #127

Merged
merged 1 commit into from Nov 1, 2012

Conversation

dcabasson
Copy link
Contributor

#126

The only change I added is an aditionnal detection when the type if object to check on the nodeType and detect if it's a HTMLDocument.

Currently in IE7/8, it will return [object Object] as the type, which is interpreted as an Object and will break when $.unlink is called.

This behaviour is breaking JQuery.spacetree in IE 7/8.

Other browser correctly return [object HtmlDocument](IE 9, Chrome and Firefox)

philogb added a commit that referenced this pull request Nov 1, 2012
Adding a detection of the HTMLDocument for IE7/8 compatibility
@philogb philogb merged commit 26ed082 into philogb:master Nov 1, 2012
@deepumon
Copy link

thanks. It's working now in IE8 also

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

3 participants