From: John Resig Date: Wed, 10 Jan 2007 07:00:02 +0000 (+0000) Subject: Fixed a bug with .append() and /. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=84ecf3937b156e7892131481ed6b1df230bbbbc7;p=jquery.git Fixed a bug with .append() and /. --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 4059807..f927a35 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1355,16 +1355,17 @@ jQuery.extend({ var wrap = // option or optgroup - !s.indexOf("", ""] || + !s.indexOf("", ""] || - !s.indexOf("", ""] || !s.indexOf("", ""] || // matched above - !s.indexOf("", ""] || [0,"",""]; @@ -1400,6 +1401,7 @@ jQuery.extend({ r.push( arg ); else r = jQuery.merge( r, arg ); + } return r;