Skip to content

Commit

Permalink
🐛 Fix: fireworks effect for animejs 3 (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
myl7 committed Jan 12, 2021
1 parent 7b4993f commit 49cd43e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 29 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ cdn:
fontawesome: https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css
# fontawesomeV5: https://use.fontawesome.com/releases/v5.3.1/css/all.css
js:
anime: https://cdn.jsdelivr.net/npm/animejs@latest/anime.min.js
anime: https://cdn.jsdelivr.net/npm/animejs@latest/lib/anime.min.js
jquery: https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js
fancybox: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js
velocity: https://cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js
Expand Down
3 changes: 1 addition & 2 deletions source/js/fireworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,5 @@ function animateParticules (x, y) {
duration: anime.random(1200, 1800),
easing: 'easeOutExpo',
update: renderParticule,
offset: 0
})
}, 0)
}
Loading

0 comments on commit 49cd43e

Please sign in to comment.