Minor bug fixes.

1.7/enhancement_8685
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);
};
}
}
};
jQuery.extend({

2
jquery/jquery.js vendored
View 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)