Skip to content

Commit

Permalink
Merge pull request #1288 from sveltejs/ff-transition-bug
Browse files Browse the repository at this point in the history
remove transition styles in Firefox
  • Loading branch information
Conduitry authored Mar 29, 2018
2 parents 565bc52 + be678c6 commit c067bcb
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 c067bcb

Please sign in to comment.