2016-11-15 14:08:06 +00:00
|
|
|
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, padded-blocks */
|
2016-11-21 23:19:51 +00:00
|
|
|
/* global Turbolinks */
|
|
|
|
|
2016-07-24 20:45:11 +00:00
|
|
|
(function() {
|
|
|
|
Turbolinks.enableProgressBar();
|
|
|
|
|
2016-08-30 05:02:29 +00:00
|
|
|
$(document).on('page:fetch', function() {
|
2016-08-04 03:20:08 +00:00
|
|
|
$('.tanuki-logo').addClass('animate');
|
2016-08-30 05:02:29 +00:00
|
|
|
});
|
2016-07-24 20:45:11 +00:00
|
|
|
|
2016-08-30 05:02:29 +00:00
|
|
|
$(document).on('page:change', function() {
|
2016-08-04 03:20:08 +00:00
|
|
|
$('.tanuki-logo').removeClass('animate');
|
2016-08-30 05:02:29 +00:00
|
|
|
});
|
2016-07-24 20:45:11 +00:00
|
|
|
|
|
|
|
}).call(this);
|