From ad2e514b07943547d351fd4684dc949125569753 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 6 Nov 2009 01:46:49 +0000 Subject: [PATCH] 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. --- ui/jquery.effects.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5