Merge pull request #1293 from sveltejs/gh-1290

only delete applicable transition animations
pull/1295/head
Rich Harris 7 years ago committed by GitHub
commit c943a86032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -199,7 +199,7 @@ export var transitionManager = {
node.style.animation = node.style.animation
.split(', ')
.filter(function(anim) {
return !/__svelte/.test(anim);
return anim.indexOf(name) === -1;
})
.join(', ');
}

Loading…
Cancel
Save