mastodon/app/assets/javascripts/profiler.coffee

3 lines
125 B
CoffeeScript

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