From: John Resig Date: Mon, 17 Jul 2006 01:49:55 +0000 (+0000) Subject: Minor bug fixes. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=sidebyside;h=e8627fe1555602dc4713c4e848a41642b2654512;p=jquery.git Minor bug fixes. --- diff --git a/ajax/ajax.js b/ajax/ajax.js index 4b062e9..1960150 100644 --- a/ajax/ajax.js +++ b/ajax/ajax.js @@ -71,7 +71,7 @@ new function(){ return this.bind(o, f); }; } -} +}; jQuery.extend({ 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)