Skip to content

Commit

Permalink
Fix error when sending tip (#7630)
Browse files Browse the repository at this point in the history
Fixes: #7598
  • Loading branch information
zashton authored Oct 7, 2020
1 parent 9027b8c commit 534b8b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/assets/onepager/js/confetti.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ var doconfetti = function(){
return results;
})();

window.step = function() {
window.cStep = function() {
var c, j, len, results;
requestAnimationFrame(step);
requestAnimationFrame(cStep);
context.clearRect(0, 0, w, h);
results = [];
for (j = 0, len = confetti.length; j < len; j++) {
Expand All @@ -113,9 +113,9 @@ var doconfetti = function(){
return results;
};

step();
cStep();

}).call(this);
}).call(this);

};

Expand Down

0 comments on commit 534b8b6

Please sign in to comment.