X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=jquery%2Fjquery.js;h=20ea1625e6b8a14794ea48933f9a62289cc15f48;hb=2f023fdd210a509353ae634bd1cd5d2fec59b0ce;hp=178ed0a3a1d2dde4be098351b9bbc7bda188a35d;hpb=6e868bb091f14a534c898c7a47e6fecd3e403b60;p=jquery.git diff --git a/jquery/jquery.js b/jquery/jquery.js index 178ed0a..20ea162 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -61,7 +61,7 @@ function jQuery(a,c) { if ( m ) a = jQuery.clean( [ m[1] ] ); // Watch for when an array is passed in - this.get( a.constructor == Array || a.length && a[0] != undefined && a[0].nodeType ? + this.get( a.constructor == Array || a.length && !a.nodeType && a[0] != undefined && a[0].nodeType ? // Assume that it is an array of DOM Elements jQuery.merge( a, [] ) :