]> source.dussan.org Git - jquery.git/commitdiff
Minor bug fixes.
authorJohn Resig <jeresig@gmail.com>
Mon, 17 Jul 2006 01:49:55 +0000 (01:49 +0000)
committerJohn Resig <jeresig@gmail.com>
Mon, 17 Jul 2006 01:49:55 +0000 (01:49 +0000)
ajax/ajax.js
jquery/jquery.js

index 4b062e9b3e5631962f3b059416aa070faa2cdde2..1960150e34ac6065e7d956777611f6d7dca815d7 100644 (file)
@@ -71,7 +71,7 @@ new function(){
                        return this.bind(o, f);
                };
        }
-}
+};
 
 jQuery.extend({
 
index b3e28edb230dc2c8239179469fbb50dcf1c0d93e..02c22fbe03a10ba1482002c2c989c2d5101b9b3d 100644 (file)
@@ -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)