X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=jquery%2Fjquery.js;h=02c22fbe03a10ba1482002c2c989c2d5101b9b3d;hb=e8627fe1555602dc4713c4e848a41642b2654512;hp=b3e28edb230dc2c8239179469fbb50dcf1c0d93e;hpb=4737936c0b05236ecafa86f0186b0b236a2ff826;p=jquery.git diff --git a/jquery/jquery.js b/jquery/jquery.js index b3e28ed..02c22fb 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -1292,7 +1292,7 @@ jQuery.extend({ find: function( t, context ) { // Make sure that the context is a DOM Element - if ( context && context.getElementsByTagName == undefined ) + if ( context && context.nodeType == undefined ) context = null; // Set the correct context (if none is provided)