Added fix for bug #1567 - uppercase nodeName test in .add().

This commit is contained in:
John Resig 2007-09-15 03:44:44 +00:00
parent f6a2e1734f
commit e0c6e4ef98

View file

@ -282,7 +282,7 @@ jQuery.fn = jQuery.prototype = {
this.get(), this.get(),
t.constructor == String ? t.constructor == String ?
jQuery(t).get() : jQuery(t).get() :
t.length != undefined && (!t.nodeName || t.nodeName == "FORM") ? t.length != undefined && (!t.nodeName || jQuery.nodeName(t, "form")) ?
t : [t] ) t : [t] )
); );
}, },