git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor bug fixes.
[jquery.git]
/
jquery
/
jquery.js
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
b3e28ed
..
02c22fb
100644
(file)
--- a/
jquery/jquery.js
+++ b/
jquery/jquery.js
@@
-1292,7
+1292,7
@@
jQuery.extend({
find: function( t, context ) {
// Make sure that the context is a DOM Element
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)
context = null;
// Set the correct context (if none is provided)