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
jQuery 1.9 - $.browser removed #950
Conversation
Address jQuery 1.9 removing $.browser
As the only sniffing we need is the IE version, I think the regex could be far simpler |
# Do no harm and return as soon as possible for unsupported browsers, namely IE6 and IE7 | ||
# Continue on if running IE document type but in compatibility mode | ||
return this if $.browser.msie and ($.browser.version is "6.0" or ($.browser.version is "7.0" and document.documentMode is 7 )) | ||
return this if browser.name.msie and (browser.version is "6.0" or (browser.version is "7.0" and document.documentMode is 7 )) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
browser.name.msie
is not defined by your change. what you are would need to check is browser.name is "msie"
+1 - Chosen is broken with jQuery 1.9 right now |
thanks |
@pfiller you should do a new release containing this fix as jQuery 1.9 is now stable |
Any word on a release? jQuery 1.9 has been the default for a month now. |
bump |
1 similar comment
bump |
+1 bump |
ping |
@adrienbrault use the master branch instead of the tag, as said above. |
When I tested the latest beta of jQuery the chosen plugin throws an error. Since jQuery 1.9 has removed $.browser I added the user agent sniffing.