Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13869 closed bug (notabug)

Can't call before() method with static markup more than once

Reported by: jojo Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

Please see the following Fiddle:

http://jsfiddle.net/q3RxT/

If you comment out the second before() call, everything works fine. Also replacing the before() method with the after() method works.

May be related to this, alreday closed, bug (wasn't able to reopen it): http://bugs.jquery.com/ticket/5142

Change History (1)

comment:1 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed

We only fix bugs in the latest version. For that specific case, it is no longer valid to use .before() on a disconnected set of nodes. http://jquery.com/upgrade-guide/1.9/#after-before-and-replacewith-with-disconnected-nodes

Note: See TracTickets for help on using tickets.