summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/logo.js
blob: 403e216e70f43b23790fab812799b832c3d3473d (plain)
1
2
3
4
5
6
7
import $ from 'jquery';

export default function initLogoAnimation() {
  window.addEventListener('beforeunload', () => {
    $('.tanuki-logo').addClass('animate');
  });
}