mastodon/app/assets/javascripts/profiler.coffee

6 lines
173 B
CoffeeScript

$ ->
$(document).on 'turbolinks:load', ->
unless typeof window.MiniProfiler == 'undefined'
window.MiniProfiler.init()
window.MiniProfiler.pageTransition()