Bug Tracker

Opened 8 years ago

Closed 8 years ago

#15107 closed bug (notabug)

jquery after function bug

Reported by: hovea Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.1
Keywords: after Cc:
Blocked by: Blocking:

Description

Run the following script: $("<TD>").text('test').after($("<TD>").text("test"));

Expected result:

[<td>​test​</td>​, <td>​test​</td>​]

Actual result: [<td>​test​</td>​​]

This occurs in 1.10.2 and 1.11.1.

With jquery 1.8.3, the result is correct.

Change History (1)

Note: See TracTickets for help on using tickets.