remove transition styles in Firefox

pull/1288/head
Rich-Harris 7 years ago
parent b506e5a596
commit be678c680d

@ -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