debian-mirror-gitlab/app/assets/javascripts/logo.js
2022-07-23 20:15:48 +02:00

5 lines
173 B
JavaScript

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