Minor bug fixes.

This commit is contained in:
John Resig 2006-07-17 01:49:55 +00:00
parent 4737936c0b
commit e8627fe155
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ new function(){
return this.bind(o, f); return this.bind(o, f);
}; };
} }
} };
jQuery.extend({ jQuery.extend({

2
jquery/jquery.js vendored
View File

@ -1292,7 +1292,7 @@ jQuery.extend({
find: function( t, context ) { find: function( t, context ) {
// Make sure that the context is a DOM Element // Make sure that the context is a DOM Element
if ( context && context.getElementsByTagName == undefined ) if ( context && context.nodeType == undefined )
context = null; context = null;
// Set the correct context (if none is provided) // Set the correct context (if none is provided)