Side navigation
#13596 closed bug (fixed)
Opened March 11, 2013 08:46PM UTC
Closed April 16, 2013 09:49PM UTC
.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.