Skip to content
Permalink
Browse files

Effects: Added support for animating borderColor (previously only sup…

…ported individual borders, e.g., borderLeftColor). Fixes #4807 - $('').switchClass throwing error in IE8 if the switched class contains color property.
  • Loading branch information...
scottgonzalez committed Nov 6, 2009
1 parent 23c87aa commit ad2e514b07943547d351fd4684dc949125569753
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit ad2e514

Please sign in to comment.
You can’t perform that action at this time.