Skip to main content

Bug Tracker

Side navigation

#4174 closed bug (duplicate)

Opened February 17, 2009 03:27PM UTC

Closed February 18, 2009 02:11AM UTC

Regression in .append() .prepend() etc, between 1.2.6 and 1.3.1

Reported by: maranomynet Owned by:
Priority: critical Milestone: 1.3.2
Component: core Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:
Description

the following code produces wildly different results in jQuery 1.2.6 and 1.3.1 ...

var protoElm = $('#proto b');

protoElm
    .bind('click', function(e){
        alert("I'm a click event!");
      });

$('p')
    .append( protoElm )
    .prepend( protoElm );

See the attached demos/test-cases for more info.

Attachments (1)
Change History (2)

Changed February 18, 2009 12:19AM UTC by dmethvin comment:1

This seems like the same case as #4161, would you agree?

Changed February 18, 2009 02:11AM UTC by john comment:2

resolution: → duplicate
status: newclosed

Yeah, duplicate.