Commit 98a380c0 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'minor-refactor' into 'master'

Minor code refactor for inlining functions in logo JS.

See merge request !6097
parents a4d3c488 32551fae
(function() {
Turbolinks.enableProgressBar();
start = function() {
$(document).on('page:fetch', function() {
$('.tanuki-logo').addClass('animate');
};
});
stop = function() {
$(document).on('page:change', function() {
$('.tanuki-logo').removeClass('animate');
};
$(document).on('page:fetch', start);
$(document).on('page:change', stop);
});
}).call(this);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment