Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4174 closed bug (duplicate)

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)

append-prepend-regression.zip (64.8 KB) - added by maranomynet 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by maranomynet

comment:1 Changed 10 years ago by dmethvin

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

comment:2 Changed 10 years ago by john

Resolution: duplicate
Status: newclosed

Yeah, duplicate.

Note: See TracTickets for help on using tickets.