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