remove transition styles in Firefox

pull/7738/head
Rich-Harris 8 years ago
parent 7ee9d9ad94
commit 860ae03033

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

Loading…
Cancel
Save