Skip to content

Commit

Permalink
Effects: Added support for animating borderColor (previously only sup…
Browse files Browse the repository at this point in the history
…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 ad2e514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.effects.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ad2e514

Please sign in to comment.