diff options
author | John Resig <jeresig@gmail.com> | 2007-09-15 03:44:44 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-09-15 03:44:44 +0000 |
commit | e0c6e4ef98302345cc17131675e2c1f9f17b62f1 (patch) | |
tree | 45f5e852d0a0886ce732162e7f9699a64e038d6a | |
parent | f6a2e1734f73e30386e2679d4f4a8e5ac9a46f88 (diff) | |
download | jquery-e0c6e4ef98302345cc17131675e2c1f9f17b62f1.tar.gz jquery-e0c6e4ef98302345cc17131675e2c1f9f17b62f1.zip |
Added fix for bug #1567 - uppercase nodeName test in .add().
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index d059564fe..1236f1c65 100644 --- 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] ) ); }, |