summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/logo.js
blob: ea9bfb4860a179927b83891bbb90f21804771982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback */
/* global Turbolinks */

(function() {
  Turbolinks.enableProgressBar();

  $(document).on('page:fetch', function() {
    $('.tanuki-logo').addClass('animate');
  });

  $(document).on('page:change', function() {
    $('.tanuki-logo').removeClass('animate');
  });
}).call(this);