Minor bug fixes.
This commit is contained in:
parent
4737936c0b
commit
e8627fe155
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ new function(){
|
|||
return this.bind(o, f);
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
jQuery.extend({
|
||||
|
||||
|
|
2
jquery/jquery.js
vendored
2
jquery/jquery.js
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue