Skip to content

Commit

Permalink
Clone node on transition
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelage committed Mar 12, 2015
1 parent d2709f1 commit 0961870
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/js/ratchet.js
Expand Up @@ -330,6 +330,8 @@
var div = document.createElement('div');
div.innerHTML = contents;
contents = div.childNodes[0];
} else {
contents = contents.cloneNode(true)
}

if (transition) {
Expand Down

0 comments on commit 0961870

Please sign in to comment.