Merge "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git] / resources / src / jquery / jquery.color.js
index 847afd4..894cf86 100644 (file)
@@ -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 );