gitlab-org--gitlab-foss/app/assets/javascripts/logo.js

5 lines
174 B
JavaScript

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