From: Scott González Date: Fri, 6 Nov 2009 01:46:49 +0000 (+0000) Subject: Effects: Added support for animating borderColor (previously only supported individua... X-Git-Tag: 1.8a2~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ad2e514b07943547d351fd4684dc949125569753;p=jquery-ui.git Effects: Added support for animating borderColor (previously only supported individual borders, e.g., borderLeftColor). Fixes #4807 - $('').switchClass throwing error in IE8 if the switched class contains color property. --- diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 11aacfcab..3c777db39 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -332,7 +332,7 @@ $.fn.extend({ // override the animation for color styles -$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', +$.each(['backgroundColor', 'borderColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i, attr) { $.fx.step[attr] = function(fx) {