mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-30 00:06:22 +01:00
85b00d19b8
behaviour with Turbolinks enabled, optimizing Rabl for production
6 lines
173 B
CoffeeScript
6 lines
173 B
CoffeeScript
$ ->
|
|
$(document).on 'turbolinks:load', ->
|
|
unless typeof window.MiniProfiler == 'undefined'
|
|
window.MiniProfiler.init()
|
|
window.MiniProfiler.pageTransition()
|