Update chosen, closes #2594

This commit is contained in:
Mike Jolley 2013-03-05 19:17:53 +00:00
parent 0c3cc15c21
commit 8936ad0c9b
3 changed files with 11 additions and 2 deletions

View File

@ -306,7 +306,14 @@ Copyright (c) 2011 by Harvest
$.fn.extend({
chosen: function(options) {
if ($.browser.msie && ($.browser.version === "6.0" || ($.browser.version === "7.0" && document.documentMode === 7))) {
var browser, match, ua;
ua = navigator.userAgent.toLowerCase();
match = /(msie) ([\w.]+)/.exec(ua) || [];
browser = {
name: match[1] || "",
version: match[2] || "0"
};
if (browser.name === "msie" && (browser.version === "6.0" || (browser.version === "7.0" && document.documentMode === 7))) {
return this;
}
return this.each(function(input_field) {

File diff suppressed because one or more lines are too long

View File

@ -169,6 +169,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Fix - Frontpage shop when 'orderby' is set.
* Fix - Fix add-to-cart for grouped products which are sold individually.
* Fix - Payment method animation on the checkout.
* Fix - Updated chosen library.
= 2.0.1 - 04/03/2013 =
* Fix - Added an extra permalink flush after upgrade to save needing to do it manually.