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

Error when using jQuery.noConflict() #55

Closed
chris-mullins opened this issue Feb 15, 2012 · 2 comments
Closed

Error when using jQuery.noConflict() #55

chris-mullins opened this issue Feb 15, 2012 · 2 comments
Labels

Comments

@chris-mullins
Copy link

around line 118 there is a line that adds a script which contains a $ which does not work if jQuery.noConflict() is in effect since Jquery has given up control of the $ in that context.

$('<!--[if lte IE 8]><script>$("body").addClass("oldie");</script><![endif]-->').appendTo('body').remove();

To resolve use the long form jQuery("body").

@Mottie
Copy link
Owner

Mottie commented Feb 15, 2012

Thanks for catching that! I'll include a fix in my next update.

@chris-mullins
Copy link
Author

No Problem. I may have a few more bug reports for you. I am running into some IE8 issues.

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

No branches or pull requests

2 participants