Skip to content

Commit

Permalink
1、修改动画
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed Oct 17, 2024
1 parent d8114a4 commit 68b7b70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/js/logo_anim.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,9 @@ document.addEventListener("DOMContentLoaded", function () {
start = true;
const div = document.getElementById('logo_anim_div')
div.classList.add('svg-anim-frame-animation1');
div.addEventListener('animationend', function(event) {
start = false;
div.removeEventListener('animationend', this);
}, false);
});
});

0 comments on commit 68b7b70

Please sign in to comment.