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

this refers to window object in IE10 and lower #41

Open
sagarchand opened this issue Mar 18, 2016 · 0 comments
Open

this refers to window object in IE10 and lower #41

sagarchand opened this issue Mar 18, 2016 · 0 comments

Comments

@sagarchand
Copy link

say for eg. I'm declaring resize function on an element

$(".someclass li").resize(function*() {
     $(this).something something.......
}

the var this is the element that is being resized in IE11 and other modern browsers..but in IE10 and lower this is always the global window object.

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