Skip to content

Commit

Permalink
remove transition styles in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Mar 29, 2018
1 parent b506e5a commit be678c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/transitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ');
}
Expand Down

0 comments on commit be678c6

Please sign in to comment.