diff --git a/src/shared/transitions.js b/src/shared/transitions.js index b9aea0cf52..63172d0658 100644 --- a/src/shared/transitions.js +++ b/src/shared/transitions.js @@ -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(', '); }