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:
parent
b506e5a596
commit
be678c680d
@ -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(', ');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user