mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-11 01:47:59 +00: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()
|