0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00

remove transition styles in Firefox

This commit is contained in:
Rich-Harris 2018-03-29 00:07:42 -04:00
parent b506e5a596
commit be678c680d

View File

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