From 190136cf6132620327a86274fb108fabf55a1d4f Mon Sep 17 00:00:00 2001 From: Anton Ryzhov Date: Wed, 17 Aug 2011 18:56:21 +0400 Subject: Unit test for this case Codestyle fixes --- src/core.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core.js') diff --git a/src/core.js b/src/core.js index db832a0bf..eb24a69a4 100644 --- a/src/core.js +++ b/src/core.js @@ -678,8 +678,7 @@ jQuery.extend({ }, inArray: function( elem, array ) { - if (!jQuery.isArray(array)) - { + if ( !array ) { return -1; } -- cgit v1.2.3