diff options
author | John Resig <jeresig@gmail.com> | 2006-07-17 01:49:55 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-07-17 01:49:55 +0000 |
commit | e8627fe1555602dc4713c4e848a41642b2654512 (patch) | |
tree | 216084f0c30fed51125d3b35cd434f631ec4b317 | |
parent | 4737936c0b05236ecafa86f0186b0b236a2ff826 (diff) | |
download | jquery-e8627fe1555602dc4713c4e848a41642b2654512.tar.gz jquery-e8627fe1555602dc4713c4e848a41642b2654512.zip |
Minor bug fixes.
-rw-r--r-- | ajax/ajax.js | 2 | ||||
-rw-r--r-- | jquery/jquery.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ajax/ajax.js b/ajax/ajax.js index 4b062e9b3..1960150e3 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 b3e28edb2..02c22fbe0 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) |