Make sure that the previous element is removed from the page before the next is inser...
authorjeresig <jeresig@gmail.com>
Sat, 5 Dec 2009 20:30:36 +0000 (15:30 -0500)
committerjeresig <jeresig@gmail.com>
Sat, 5 Dec 2009 20:30:36 +0000 (15:30 -0500)
commit2a6de9ab66653e5e424d9cc79d195b555158d04f
treecc6385fe4f107bc2163a65cdc366c3867b27199c
parentaae0617c834a030902cd8da2714f852d6a1431be
Make sure that the previous element is removed from the page before the next is inserted, in replaceWith. Using a variation of the patch by snaury. Fixes #2697.
src/manipulation.js
test/unit/manipulation.js