From 84ecf3937b156e7892131481ed6b1df230bbbbc7 Mon Sep 17 00:00:00 2001 From: John Resig Date: Wed, 10 Jan 2007 07:00:02 +0000 Subject: [PATCH] Fixed a bug with .append() and /. --- src/jquery/jquery.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 40598076d..f927a35dd 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; -- 2.39.5