mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Minor bug fixes.
This commit is contained in:
parent
4737936c0b
commit
e8627fe155
@ -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
2
jquery/jquery.js
vendored
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user