Skip to content

Commit

Permalink
Added fix for bug jquery#1567 - uppercase nodeName test in .add().
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Sep 15, 2007
1 parent f6a2e17 commit e0c6e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] )
);
},
Expand Down

0 comments on commit e0c6e4e

Please sign in to comment.