Replace deprecated jQuery.isArray by Array.isArray
[lhc/web/wiklou.git] / resources / src / jquery / jquery.colorUtil.js
index c53ec3b..2be1dba 100644 (file)
@@ -26,7 +26,7 @@
                        var result;
 
                        // Check if we're already dealing with an array of colors
-                       if ( color && $.isArray( color ) && color.length === 3 ) {
+                       if ( color && Array.isArray( color ) && color.length === 3 ) {
                                return color;
                        }