mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-15 00:28:28 -05:00
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.
This commit is contained in:
2
ui/jquery.effects.core.js
vendored
2
ui/jquery.effects.core.js
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user