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