git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure that a DOM node isn't getting passed through (as is the case in IE, it...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
5da31e6
..
e2d3b60
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-315,7
+315,7
@@
jQuery.extend({
},
isObjectLiteral: function( obj ) {
},
isObjectLiteral: function( obj ) {
- if ( toString.call(obj) !== "[object Object]" ) {
+ if ( toString.call(obj) !== "[object Object]" || typeof obj.nodeType === "number" ) {
return false;
}
return false;
}