Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
$(document).on 'turbolinks:load', ->
|
||||
window.MiniProfiler.pageTransition() unless typeof window.MiniProfiler == 'undefined'
|
||||
$ ->
|
||||
$(document).on 'turbolinks:load', ->
|
||||
unless typeof window.MiniProfiler == 'undefined'
|
||||
window.MiniProfiler.init()
|
||||
window.MiniProfiler.pageTransition()
|
||||
|
Reference in New Issue
Block a user