git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed another log statement; fixed add(Array) for IE (IE reports form.elements...
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
2c494d1
..
d9f5b8a
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-986,7
+986,7
@@
jQuery.fn = jQuery.prototype = {
this.get(),
t.constructor == String ?
jQuery(t).get() :
this.get(),
t.constructor == String ?
jQuery(t).get() :
- t.length != undefined && !t.nodeName ?
+ t.length != undefined && (!t.nodeName || t.nodeName == "FORM") ?
t : [t] )
);
},
t : [t] )
);
},