diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-01-13 16:54:16 -0500 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-02-02 14:03:12 -0500 |
commit | fbd09871ca7003242053fbca10d9c0e96e7a799d (patch) | |
tree | 0703d65519dbc98fa57796ee08fd8086e9863c32 /app/assets/javascripts/logo.js | |
parent | e3a5f1df29ca09797217d90af4ce0086a66fcd8d (diff) | |
download | gitlab-ce-fbd09871ca7003242053fbca10d9c0e96e7a799d.tar.gz |
Remove turbolinks.
Diffstat (limited to 'app/assets/javascripts/logo.js')
-rw-r--r-- | app/assets/javascripts/logo.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/assets/javascripts/logo.js b/app/assets/javascripts/logo.js index ea9bfb4860a..1b0d0768db8 100644 --- a/app/assets/javascripts/logo.js +++ b/app/assets/javascripts/logo.js @@ -1,14 +1,7 @@ /* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback */ -/* global Turbolinks */ (function() { - Turbolinks.enableProgressBar(); - - $(document).on('page:fetch', function() { + window.addEventListener('beforeunload', function() { $('.tanuki-logo').addClass('animate'); }); - - $(document).on('page:change', function() { - $('.tanuki-logo').removeClass('animate'); - }); }).call(this); |