mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00: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:
parent
23c87aaf43
commit
ad2e514b07
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
|
// override the animation for color styles
|
||||||
$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor',
|
$.each(['backgroundColor', 'borderColor', 'borderBottomColor', 'borderLeftColor',
|
||||||
'borderRightColor', 'borderTopColor', 'color', 'outlineColor'],
|
'borderRightColor', 'borderTopColor', 'color', 'outlineColor'],
|
||||||
function(i, attr) {
|
function(i, attr) {
|
||||||
$.fx.step[attr] = function(fx) {
|
$.fx.step[attr] = function(fx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user