mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects: Added borderColor to color animation list. Fixes #6164 - Effectts: Allow borderColor to be animated.
This commit is contained in:
parent
62799d9122
commit
09073f042e
2
ui/jquery.effects.core.js
vendored
2
ui/jquery.effects.core.js
vendored
@ -19,7 +19,7 @@ $.effects = {};
|
|||||||
|
|
||||||
// override the animation for color styles
|
// override the animation for color styles
|
||||||
$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor',
|
$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor',
|
||||||
'borderRightColor', 'borderTopColor', 'color', 'outlineColor'],
|
'borderRightColor', 'borderTopColor', 'borderColor', 'color', 'outlineColor'],
|
||||||
function(i, attr) {
|
function(i, attr) {
|
||||||
$.fx.step[attr] = function(fx) {
|
$.fx.step[attr] = function(fx) {
|
||||||
if (!fx.colorInit) {
|
if (!fx.colorInit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user