git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a2e17
)
Added fix for bug #1567 - uppercase nodeName test in .add().
author
John Resig
<jeresig@gmail.com>
Sat, 15 Sep 2007 03:44:44 +0000
(
03:44
+0000)
committer
John Resig
<jeresig@gmail.com>
Sat, 15 Sep 2007 03:44:44 +0000
(
03:44
+0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
d059564
..
1236f1c
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-282,7
+282,7
@@
jQuery.fn = jQuery.prototype = {
this.get(),
t.constructor == String ?
jQuery(t).get() :
- t.length != undefined && (!t.nodeName || t.nodeName == "FORM") ?
+ t.length != undefined && (!t.nodeName || jQuery.nodeName(t, "form")) ?
t : [t] )
);
},