Skip to content

Commit

Permalink
Merge pull request #124 from sveltejs/gh-121
Browse files Browse the repository at this point in the history
destroy _svelteTransitionManager when creating fresh components
  • Loading branch information
Rich-Harris authored Aug 6, 2017
2 parents ae34892 + 1408063 commit 3ab7af6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions universal/routes/Repl/Viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
try {
evalInIframe( `${bundle.code}
document.body.innerHTML = '';
window._svelteTransitionManager = null;
var component = new SvelteComponent({
target: document.body,
data: ${JSON.stringify(data)}
Expand Down

0 comments on commit 3ab7af6

Please sign in to comment.