[jQuery] Re: addUnique

2008-05-06 Thread Ariel Flesler
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 so

[jQuery] Re: addUnique

2008-05-06 Thread Iconico
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 th

[jQuery] Re: addUnique

2008-05-01 Thread Dave Methvin
> The problem was that in my situation '#divMain img' sometimes already > contains '#newImg', and when it does the add function would add a > second copy of it, which messed things up further down the line. That actually sounds like a bug. What version of jQuery are you using? AFAICT, jQuery().a