debian-mirror-gitlab/app/assets/javascripts/logo.js
2022-11-25 23:54:43 +05:30

5 lines
174 B
JavaScript

export default function initLogoAnimation() {
window.addEventListener('beforeunload', () => {
document.querySelector('.tanuki-logo')?.classList.add('animate');
});
}