gitlab-org--gitlab-foss/app/assets/javascripts/logo.js

16 lines
380 B
JavaScript
Raw Normal View History

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