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

Slick.contains(el, el) for detached elements returns false in IE #43

Open
arian opened this issue May 9, 2011 · 0 comments
Open

Slick.contains(el, el) for detached elements returns false in IE #43

arian opened this issue May 9, 2011 · 0 comments

Comments

@arian
Copy link
Member

arian commented May 9, 2011

Title says it all.

jsfiddle: http://jsfiddle.net/v7qZd/2/

Maybe just change this line: https://github.com/mootools/slick/blob/master/Source/Slick.Finder.js#L209

to

return context.contains(node) || context == node;
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

No branches or pull requests

1 participant