summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/logo.js
blob: 7d8eef1b49574b9e4475ab08db028aca5795182e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(function() {
  Turbolinks.enableProgressBar();

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

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

}).call(this);