Opened 10 years ago
Closed 10 years ago
#13596 closed bug (fixed)
.replaceWith should always remove the context set
Reported by: | gibson042 | Owned by: | gibson042 |
---|---|---|---|
Priority: | high | Milestone: | 1.10 |
Component: | manipulation | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
(copied from https://github.com/jquery/jquery-migrate/issues/28)
Some edge-case arguments can break .replaceWith
, causing it to no-op instead of removing the context set. It should be updated to guarantee .remove()
, even if .domManip
never executes the callback.
Change History (3)
comment:1 Changed 10 years ago by
Component: | unfiled → manipulation |
---|---|
Milestone: | None → 1.9.2 |
Owner: | set to gibson042 |
Priority: | undecided → high |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Milestone: | 1.9.2 → 1.10 |
---|
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fix #13596; #13722: .replaceWith consistency. Close gh-1216.