Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes #5986.
authorNoah Sloan <noah.sloan@gmail.com>
Tue, 2 Feb 2010 02:48:05 +0000 (21:48 -0500)
committerjeresig <jeresig@gmail.com>
Tue, 2 Feb 2010 02:48:05 +0000 (21:48 -0500)
commit8660ea1ab61dd16aec1ed24ec549c6258292b96a
treead013af49b7b105cd9df6f57f18cb6a47ddba865
parente76ba32cebc26108e15b2e0e03c5152624c1bad9
Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes #5986.
src/manipulation.js
test/unit/manipulation.js