This is actually a bug, I opened a ticket and added a diff, will be fixed soon.
http://dev.jquery.com/ticket/2811 -- Ariel Flesler http://flesler.blogspot.com On 6 mayo, 13:50, Iconico <[EMAIL PROTECTED]> wrote: > On May 1, 7:42 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > > > That actually sounds like a bug. What version ofjQueryare you using? > > AFAICT,jQuery().add() is supposed to usejQuery.merge to avoid > > duplicates. Can you create a test case and post a bug report? > > I'm using 1.2.3, the latest. I don't think it's a bug, it's more > subtle than that. > > There's a thread here that details the issue pretty > well:http://groups.google.com/group/jquery-en/browse_thread/thread/f08ee33... > > If you still don't follow I can mock up a test for you, just let me > know.