X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.color.js;h=894cf863e84feb4dd6eb1d85471303395f9d9b4a;hb=78aea614f0ca9d7ddcbc329e2cc67c838efd72cb;hp=847afd4e864eeeed168b9ce52f8829edd4755e28;hpb=386c6ae9c5a5e9fe133a333b653b4d080dff1718;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.color.js b/resources/src/jquery/jquery.color.js index 847afd4e86..894cf863e8 100644 --- a/resources/src/jquery/jquery.color.js +++ b/resources/src/jquery/jquery.color.js @@ -28,7 +28,7 @@ } // We override the animation for all of these color styles - $.each( [ + [ 'backgroundColor', 'borderBottomColor', 'borderLeftColor', @@ -36,7 +36,7 @@ 'borderTopColor', 'color', 'outlineColor' - ], function ( i, attr ) { + ].forEach( function ( attr ) { $.fx.step[ attr ] = function ( fx ) { if ( !fx.colorInit ) { fx.start = getColor( fx.elem, attr );