diff --git a/js/like.js b/js/like.js index 97bef1b..54d75e5 100644 --- a/js/like.js +++ b/js/like.js @@ -53,6 +53,10 @@ export const like = (() => { }; const animation = (card) => { + if (!confetti) { + return; + } + const end = Date.now() + 25; const colors = ['#ff69b4', '#ff1493'];